共用方式為


OpenXmlPart.RootElement Property

Definition

Gets the root element of the current part. Returns null when the current part is empty or is not an XML content type.

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

Property Value

Applies to