Document.MainDocumentPart Property
Gets the MainDocumentPart associated with this element.
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Property MainDocumentPart As MainDocumentPart
Get
Friend Set
'Usage
Dim instance As Document
Dim value As MainDocumentPart
value = instance.MainDocumentPart
public MainDocumentPart MainDocumentPart { get; internal set; }
Property Value
Type: DocumentFormat.OpenXml.Packaging.MainDocumentPart
Returns MainDocumentPart.