OpenXmlPartReader Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OpenXmlPartReader(OpenXmlPart) |
Initializes a new instance of the OpenXmlPartReader class using the supplied OpenXmlPart class. |
OpenXmlPartReader(Stream) |
Obsolete.
Initializes a new instance of the OpenXmlPartReader class using the supplied stream. |
OpenXmlPartReader(OpenXmlPart, OpenXmlPartReaderOptions) |
Initializes a new instance of the OpenXmlPartReader class. |
OpenXmlPartReader(OpenXmlPart, Boolean) |
Initializes a new instance of the OpenXmlPartReader class using the supplied OpenXmlPart and Boolean values. |
OpenXmlPartReader(Stream, Boolean) |
Obsolete.
Initializes a new instance of the OpenXmlPartReader class using the supplied stream and Boolean values. |
OpenXmlPartReader(OpenXmlPart, Boolean, Boolean) |
Initializes a new instance of the OpenXmlPartReader class using the supplied OpenXmlPart and Boolean values. |
OpenXmlPartReader(Stream, IFeatureCollection, OpenXmlPartReaderOptions) |
Initializes a new instance of the OpenXmlPartReader class. |
OpenXmlPartReader(Stream, Boolean, Boolean) |
Obsolete.
Initializes a new instance of the OpenXmlPartReader class using the supplied stream and Boolean values. |
OpenXmlPartReader(OpenXmlPart)
Initializes a new instance of the OpenXmlPartReader class using the supplied OpenXmlPart class.
public OpenXmlPartReader (DocumentFormat.OpenXml.Packaging.OpenXmlPart openXmlPart);
new DocumentFormat.OpenXml.OpenXmlPartReader : DocumentFormat.OpenXml.Packaging.OpenXmlPart -> DocumentFormat.OpenXml.OpenXmlPartReader
Public Sub New (openXmlPart As OpenXmlPart)
Parameters
- openXmlPart
- OpenXmlPart
The OpenXmlPart to read.
Applies to
OpenXmlPartReader(Stream)
Caution
Use TypedOpenXmlPartReader instead.
Initializes a new instance of the OpenXmlPartReader class using the supplied stream.
public OpenXmlPartReader (System.IO.Stream partStream);
[System.Obsolete("Use TypedOpenXmlPartReader instead.", true)]
public OpenXmlPartReader (System.IO.Stream partStream);
new DocumentFormat.OpenXml.OpenXmlPartReader : System.IO.Stream -> DocumentFormat.OpenXml.OpenXmlPartReader
[<System.Obsolete("Use TypedOpenXmlPartReader instead.", true)>]
new DocumentFormat.OpenXml.OpenXmlPartReader : System.IO.Stream -> DocumentFormat.OpenXml.OpenXmlPartReader
Public Sub New (partStream As Stream)
Parameters
- partStream
- Stream
The part stream of the OpenXmlPart to read.
- Attributes
Applies to
OpenXmlPartReader(OpenXmlPart, OpenXmlPartReaderOptions)
Initializes a new instance of the OpenXmlPartReader class.
public OpenXmlPartReader (DocumentFormat.OpenXml.Packaging.OpenXmlPart openXmlPart, DocumentFormat.OpenXml.OpenXmlPartReaderOptions options);
new DocumentFormat.OpenXml.OpenXmlPartReader : DocumentFormat.OpenXml.Packaging.OpenXmlPart * DocumentFormat.OpenXml.OpenXmlPartReaderOptions -> DocumentFormat.OpenXml.OpenXmlPartReader
Public Sub New (openXmlPart As OpenXmlPart, options As OpenXmlPartReaderOptions)
Parameters
- openXmlPart
- OpenXmlPart
The OpenXmlPart to read.
- options
- OpenXmlPartReaderOptions
Options on how to read the part.
Applies to
OpenXmlPartReader(OpenXmlPart, Boolean)
Initializes a new instance of the OpenXmlPartReader class using the supplied OpenXmlPart and Boolean values.
public OpenXmlPartReader (DocumentFormat.OpenXml.Packaging.OpenXmlPart openXmlPart, bool readMiscNodes);
new DocumentFormat.OpenXml.OpenXmlPartReader : DocumentFormat.OpenXml.Packaging.OpenXmlPart * bool -> DocumentFormat.OpenXml.OpenXmlPartReader
Public Sub New (openXmlPart As OpenXmlPart, readMiscNodes As Boolean)
Parameters
- openXmlPart
- OpenXmlPart
The OpenXmlPart to read.
- readMiscNodes
- Boolean
Specify false to indicate to the reader to skip all miscellaneous nodes. The default value is false.
Applies to
OpenXmlPartReader(Stream, Boolean)
Caution
Use TypedOpenXmlPartReader instead.
Initializes a new instance of the OpenXmlPartReader class using the supplied stream and Boolean values.
public OpenXmlPartReader (System.IO.Stream partStream, bool readMiscNodes);
[System.Obsolete("Use TypedOpenXmlPartReader instead.", true)]
public OpenXmlPartReader (System.IO.Stream partStream, bool readMiscNodes);
new DocumentFormat.OpenXml.OpenXmlPartReader : System.IO.Stream * bool -> DocumentFormat.OpenXml.OpenXmlPartReader
[<System.Obsolete("Use TypedOpenXmlPartReader instead.", true)>]
new DocumentFormat.OpenXml.OpenXmlPartReader : System.IO.Stream * bool -> DocumentFormat.OpenXml.OpenXmlPartReader
Public Sub New (partStream As Stream, readMiscNodes As Boolean)
Parameters
- partStream
- Stream
The part stream of the OpenXmlPart to read.
- readMiscNodes
- Boolean
Specify false to indicate to the reader to skip all miscellaneous nodes. The default value is false.
- Attributes
Applies to
OpenXmlPartReader(OpenXmlPart, Boolean, Boolean)
Initializes a new instance of the OpenXmlPartReader class using the supplied OpenXmlPart and Boolean values.
public OpenXmlPartReader (DocumentFormat.OpenXml.Packaging.OpenXmlPart openXmlPart, bool readMiscNodes, bool ignoreWhitespace);
new DocumentFormat.OpenXml.OpenXmlPartReader : DocumentFormat.OpenXml.Packaging.OpenXmlPart * bool * bool -> DocumentFormat.OpenXml.OpenXmlPartReader
Public Sub New (openXmlPart As OpenXmlPart, readMiscNodes As Boolean, ignoreWhitespace As Boolean)
Parameters
- openXmlPart
- OpenXmlPart
The OpenXmlPart to read.
- readMiscNodes
- Boolean
Specify false to indicate to the reader to skip all miscellaneous nodes.
- ignoreWhitespace
- Boolean
Specify true to indicate to the reader to ignore insignificant white space.
Applies to
OpenXmlPartReader(Stream, IFeatureCollection, OpenXmlPartReaderOptions)
Initializes a new instance of the OpenXmlPartReader class.
public OpenXmlPartReader (System.IO.Stream partStream, DocumentFormat.OpenXml.Features.IFeatureCollection features, DocumentFormat.OpenXml.OpenXmlPartReaderOptions options);
new DocumentFormat.OpenXml.OpenXmlPartReader : System.IO.Stream * DocumentFormat.OpenXml.Features.IFeatureCollection * DocumentFormat.OpenXml.OpenXmlPartReaderOptions -> DocumentFormat.OpenXml.OpenXmlPartReader
Public Sub New (partStream As Stream, features As IFeatureCollection, options As OpenXmlPartReaderOptions)
Parameters
- partStream
- Stream
The stream for the part data.
- features
- IFeatureCollection
A feature collection used to identify what parts and elements to create.
- options
- OpenXmlPartReaderOptions
Options for how to read the partStream
.
Applies to
OpenXmlPartReader(Stream, Boolean, Boolean)
Caution
Use TypedOpenXmlPartReader instead.
Initializes a new instance of the OpenXmlPartReader class using the supplied stream and Boolean values.
public OpenXmlPartReader (System.IO.Stream partStream, bool readMiscNodes, bool ignoreWhitespace);
[System.Obsolete("Use TypedOpenXmlPartReader instead.", true)]
public OpenXmlPartReader (System.IO.Stream partStream, bool readMiscNodes, bool ignoreWhitespace);
new DocumentFormat.OpenXml.OpenXmlPartReader : System.IO.Stream * bool * bool -> DocumentFormat.OpenXml.OpenXmlPartReader
[<System.Obsolete("Use TypedOpenXmlPartReader instead.", true)>]
new DocumentFormat.OpenXml.OpenXmlPartReader : System.IO.Stream * bool * bool -> DocumentFormat.OpenXml.OpenXmlPartReader
Public Sub New (partStream As Stream, readMiscNodes As Boolean, ignoreWhitespace As Boolean)
Parameters
- partStream
- Stream
The part stream of the OpenXmlPart to read.
- readMiscNodes
- Boolean
Specify false to indicate to the reader to skip all miscellaneous nodes.
- ignoreWhitespace
- Boolean
Specify true to indicate to the reader to ignore insignificant white space.
- Attributes