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