Click or drag to resize

OpenXmlReader Methods

The OpenXmlReader type exposes the following members.

Methods
 NameDescription
Public methodClose Closes the reader.
Public methodStatic memberCreate(OpenXmlElement) Creates an OpenXmlReader from the OpenXmlElement (travel the DOM tree).
Public methodStatic memberCreate(OpenXmlPart) Creates an OpenXmlReader from the specified OpenXmlPart.
Public methodStatic memberCreate(Stream) Creates an OpenXmlReader from the specified part stream.
Obsolete
Public methodStatic memberCreate(OpenXmlElement, Boolean) Creates an OpenXmlReader from the OpenXmlElement (travel the DOM tree).
Public methodStatic memberCreate(OpenXmlPart, Boolean) Creates an OpenXmlReader from the specified OpenXmlPart and Boolean values.
Public methodStatic memberCreate(Stream, Boolean) Creates an OpenXmlReader from the specified part stream and Boolean values.
Obsolete
Public methodStatic memberCreate(OpenXmlPart, Boolean, Boolean) Creates an OpenXmlReader from the specified OpenXmlPart and Boolean values.
Public methodStatic memberCreate(Stream, Boolean, Boolean) Creates an OpenXmlReader from the specified part stream and Boolean values.
Obsolete
Public methodDispose Closes the reader, and releases all resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLineInfo Gets an instance of IXmlLineInfo if available for the current reader.
Public methodGetText Gets the text of the element if the element is an OpenXmlLeafTextElement. Returns String.Empty for other elements.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLoadCurrentElement Loads the element at current cursor.
Public methodRead Moves to read the next element.
Public methodReadFirstChild Moves to read the first child element.
Public methodReadNextSibling Moves to read the next sibling element.
Public methodSkip Skips the child elements of the current node.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also