OpenXmlPartRootXElementExtensions.IsRootXElementLoaded(OpenXmlPart) Method

Definition

Gets a value indicating whether the root XElement is loaded from the part or it has been set.

C#
public static bool IsRootXElementLoaded (this DocumentFormat.OpenXml.Packaging.OpenXmlPart part);

Parameters

Returns

true, if the current root XElement is loaded from the part or it has been set; false, otherwise.

Applies to

Product Versions
DocumentFormat.OpenXml 2.15.0, 2.16.0, 2.17.1, 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1