Document.MainDocumentPart 属性

定义

获取与此元素关联的 MainDocumentPart。

public DocumentFormat.OpenXml.Packaging.MainDocumentPart MainDocumentPart { get; }
public DocumentFormat.OpenXml.Packaging.MainDocumentPart? MainDocumentPart { get; }
member this.MainDocumentPart : DocumentFormat.OpenXml.Packaging.MainDocumentPart
Public ReadOnly Property MainDocumentPart As MainDocumentPart

属性值

返回 MainDocumentPart

适用于