Method ReadCustomProperties
ReadCustomProperties(WordDocument)
Reads the document's custom properties, in the part's order (at most 4,096 are listed).
public static IReadOnlyList<DocumentCustomProperty> ReadCustomProperties(this WordDocument document)
Parameters
documentWordDocumentThe document.
Returns
- IReadOnlyList<DocumentCustomProperty>
The properties; empty when the document has no readable custom-properties part.
Exceptions
- ArgumentNullException
documentis null.