Subject: geting name of CustomDocumentProperties
Posted By: Medes Post Date: 5/16/2006 3:52:05 AM
Hi,

I want to get the name of a custom property.

I know that you can get number of custom properties in a document by using following code, but how can i get the name of them?

AllCustomProps = this.WordApplication.ActiveDocument.CustomDocumentProperties;

Type TypeOfAllCustomProps = AllCustomProps.GetType();

int NumberOfProperties = Int32.Parse(TypeOfAllCustomProps.InvokeMember("Count",

BindingFlags.Default | BindingFlags.GetProperty,

null, AllCustomProps, new object[] { }).ToString());



Go to topic 44309

Return to index page 286
Return to index page 285
Return to index page 284
Return to index page 283
Return to index page 282
Return to index page 281
Return to index page 280
Return to index page 279
Return to index page 278
Return to index page 277