OpenXmlPart.UnloadRootElement Method

Definition

Unloads the RootElement.

public DocumentFormat.OpenXml.OpenXmlPartRootElement? UnloadRootElement ();
member this.UnloadRootElement : unit -> DocumentFormat.OpenXml.OpenXmlPartRootElement
Public Function UnloadRootElement () As OpenXmlPartRootElement

Returns

The unloaded RootElement

Remarks

Releases the DOM so the memory can be GC'ed.

Applies to