Material to custom property

Hi

I have a part with 2 solid parts and i want the material property of these solid parts into custom property list

How can i do it?

Thank you in advance

Regards Kostas

SolidworksDrawings And Detailing