OpenXmlPart.UnloadRootElement Method
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.
C#
public DocumentFormat.OpenXml.OpenXmlPartRootElement? UnloadRootElement ();
member this.UnloadRootElement : unit -> DocumentFormat.OpenXml.OpenXmlPartRootElement
Public Function UnloadRootElement () As OpenXmlPartRootElement
The unloaded RootElement
Releases the DOM so the memory can be GC'ed.
Product | Versions |
---|---|
DocumentFormat.OpenXml | 2.16.0, 2.17.1, 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1 |