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
声明
Public Sub Reload
用法
Dim instance As OpenXmlPartRootElement
instance.Reload()
public void Reload()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the tree is not associated with a part. |