OpenXmlPart.UnloadRootElement 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.
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.