WordprocessingDocument.MainDocumentPart Property (Microsoft.Office.DocumentFormat.OpenXml.Packaging)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the MainDocumentPart of the WordprocessingDocument

Namespace: Microsoft.Office.DocumentFormat.OpenXml.Packaging
Assembly: Microsoft.Office.DocumentFormat.OpenXml (in microsoft.office.documentformat.openxml.dll)

Syntax

'Declaration
Public ReadOnly Property MainDocumentPart As MainDocumentPart
'Usage
Dim instance As WordprocessingDocument
Dim value As MainDocumentPart

value = instance.MainDocumentPart
public MainDocumentPart MainDocumentPart { get; }

See Also

Reference

WordprocessingDocument Class
WordprocessingDocument Members
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace