Partager via


OpenXmlPartRootElement.Reload Method

Reloads the part content into Open XML DOM tree. It could be called multiple times and each time it is called, the tree will be reloaded; previous changes on the tree are abandoned.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Sub Reload
'Usage
Dim instance As OpenXmlPartRootElement

instance.Reload()
public void Reload()

Exceptions

Exception Condition
InvalidOperationException

Thrown when the tree is not associated with a part.

See Also

Reference

OpenXmlPartRootElement Class

OpenXmlPartRootElement Members

DocumentFormat.OpenXml Namespace