Set Custom Properties of a solidwork file

Hi,

I need to update custom properties of a solidwork file, by using C# .

For example for a .sldasm file, In Properties-> Custom-> PartNo is there. I need to update that with my value.

How to do that?

I am using solidworks 2008.

Please help

Thanks,

SolidworksApi macros