Table of Contents

Method ReadCustomProperties

Namespace
DocWright.Word.Editing
Assembly
DocWright.Word.dll

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

document WordDocument

The document.

Returns

IReadOnlyList<DocumentCustomProperty>

The properties; empty when the document has no readable custom-properties part.

Exceptions

ArgumentNullException

document is null.