OpenXmlReader.Create Method (OpenXmlPart, Boolean)
Create an OpenXmlReader from the OpenXmlPart.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaración
Public Shared Function Create ( _
openXmlPart As OpenXmlPart, _
readMiscNodes As Boolean _
) As OpenXmlReader
'Uso
Dim openXmlPart As OpenXmlPart
Dim readMiscNodes As Boolean
Dim returnValue As OpenXmlReader
returnValue = OpenXmlReader.Create(openXmlPart, _
readMiscNodes)
public static OpenXmlReader Create(
OpenXmlPart openXmlPart,
bool readMiscNodes
)
Parameters
- openXmlPart
Type: DocumentFormat.OpenXml.Packaging.OpenXmlPart
The OpenXmlPart 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.