OpenXmlReader.Create Method (OpenXmlElement, Boolean)
Create an OpenXmlReader from the OpenXmlElement (travel the DOM tree).
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Shared Function Create ( _
openXmlElement As OpenXmlElement, _
readMiscNodes As Boolean _
) As OpenXmlReader
'Usage
Dim openXmlElement As OpenXmlElement
Dim readMiscNodes As Boolean
Dim returnValue As OpenXmlReader
returnValue = OpenXmlReader.Create(openXmlElement, _
readMiscNodes)
public static OpenXmlReader Create(
OpenXmlElement openXmlElement,
bool readMiscNodes
)
Parameters
- openXmlElement
Type: DocumentFormat.OpenXml.OpenXmlElement
The OpenXmlElement to be read.
- readMiscNodes
Type: System.Boolean
Setting it to ‘false’ will define the reader’s behavior to skip all miscellaneous nodes. The default value is ‘false’.
Return Value
Type: DocumentFormat.OpenXml.OpenXmlReader
The created OpenXmlReader.