OpenXmlPartRootXElementExtensions.IsRootXElementLoaded(OpenXmlPart) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the root XElement is loaded from the part or it has been set.
public static bool IsRootXElementLoaded (this DocumentFormat.OpenXml.Packaging.OpenXmlPart part);
static member IsRootXElementLoaded : DocumentFormat.OpenXml.Packaging.OpenXmlPart -> bool
<Extension()>
Public Function IsRootXElementLoaded (part As OpenXmlPart) As Boolean
Parameters
- part
- OpenXmlPart
The OpenXmlPart.
Returns
true
, if the current root XElement is loaded from the part or it has been set;
false
, otherwise.