Поделиться через


WordprocessingDocument.MainDocumentPart Property

Gets the MainDocumentPart of the WordprocessingDocument.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

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

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

Property Value

Type: DocumentFormat.OpenXml.Packaging.MainDocumentPart

See Also

Reference

WordprocessingDocument Class

WordprocessingDocument Members

DocumentFormat.OpenXml.Packaging Namespace