-
-An <see cref="T:System.Xml.XmlReader" /> asynchronous method was called without setting the <see cref="P:System.Xml.XmlReaderSettings.Async" /> flag to <see langword="true" />. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "Set XmlReaderSettings.Async to true if you want to use Async Methods."</exception>
- <returns>The current node.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.AttributeCount">
- <summary>When overridden in a derived class, gets the number of attributes on the current node.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>The number of attributes on the current node.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.BaseURI">
- <summary>When overridden in a derived class, gets the base URI of the current node.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>The base URI of the current node.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.CanReadBinaryContent">
- <summary>Gets a value indicating whether the <see cref="T:System.Xml.XmlReader" /> implements the binary content read methods.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>
- <see langword="true" /> if the binary content read methods are implemented; otherwise <see langword="false" />.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.CanReadValueChunk">
- <summary>Gets a value indicating whether the <see cref="T:System.Xml.XmlReader" /> implements the <see cref="M:System.Xml.XmlReader.ReadValueChunk(System.Char[],System.Int32,System.Int32)" /> method.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>
- <see langword="true" /> if the <see cref="T:System.Xml.XmlReader" /> implements the <see cref="M:System.Xml.XmlReader.ReadValueChunk(System.Char[],System.Int32,System.Int32)" /> method; otherwise <see langword="false" />.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.CanResolveEntity">
- <summary>Gets a value indicating whether this reader can parse and resolve entities.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>
- <see langword="true" /> if the reader can parse and resolve entities; otherwise, <see langword="false" />.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.Depth">
- <summary>When overridden in a derived class, gets the depth of the current node in the XML document.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>The depth of the current node in the XML document.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.EOF">
- <summary>When overridden in a derived class, gets a value indicating whether the reader is positioned at the end of the stream.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>
- <see langword="true" /> if the reader is positioned at the end of the stream; otherwise, <see langword="false" />.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.HasAttributes">
- <summary>Gets a value indicating whether the current node has any attributes.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>
- <see langword="true" /> if the current node has attributes; otherwise, <see langword="false" />.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.HasValue">
- <summary>When overridden in a derived class, gets a value indicating whether the current node can have a <see cref="P:System.Xml.XmlReader.Value" />.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>
- <see langword="true" /> if the node on which the reader is currently positioned can have a <see langword="Value" />; otherwise, <see langword="false" />. If <see langword="false" />, the node has a value of <see langword="String.Empty" />.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.IsDefault">
- <summary>When overridden in a derived class, gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>
- <see langword="true" /> if the current node is an attribute whose value was generated from the default value defined in the DTD or schema; <see langword="false" /> if the attribute value was explicitly set.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.IsEmptyElement">
- <summary>When overridden in a derived class, gets a value indicating whether the current node is an empty element (for example, <c><MyElement/></c>).</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>
- <see langword="true" /> if the current node is an element (<see cref="P:System.Xml.XmlReader.NodeType" /> equals <see langword="XmlNodeType.Element" />) that ends with <c>/></c>; otherwise, <see langword="false" />.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.Item(System.Int32)">
- <summary>When overridden in a derived class, gets the value of the attribute with the specified index.</summary>
- <param name="i">The index of the attribute.</param>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>The value of the specified attribute.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.Item(System.String)">
- <summary>When overridden in a derived class, gets the value of the attribute with the specified <see cref="P:System.Xml.XmlReader.Name" />.</summary>
- <param name="name">The qualified name of the attribute.</param>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>The value of the specified attribute. If the attribute is not found, <see langword="null" /> is returned.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.Item(System.String,System.String)">
- <summary>When overridden in a derived class, gets the value of the attribute with the specified <see cref="P:System.Xml.XmlReader.LocalName" /> and <see cref="P:System.Xml.XmlReader.NamespaceURI" />.</summary>
- <param name="name">The local name of the attribute.</param>
- <param name="namespaceURI">The namespace URI of the attribute.</param>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>The value of the specified attribute. If the attribute is not found, <see langword="null" /> is returned.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.LocalName">
- <summary>When overridden in a derived class, gets the local name of the current node.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>The name of the current node with the prefix removed. For example, <see langword="LocalName" /> is <see langword="book" /> for the element <c><bk:book></c>.
-
- For node types that do not have a name (like <see langword="Text" />, <see langword="Comment" />, and so on), this property returns <see langword="String.Empty" />.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.Name">
- <summary>When overridden in a derived class, gets the qualified name of the current node.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>The qualified name of the current node. For example, <see langword="Name" /> is <see langword="bk:book" /> for the element <c><bk:book></c>.
-
- The name returned is dependent on the <see cref="P:System.Xml.XmlReader.NodeType" /> of the node. The following node types return the listed values. All other node types return an empty string.
-
- <list type="table"><listheader><term> Node type</term><description> Name</description></listheader><item><term><see langword="Attribute" /></term><description> The name of the attribute.</description></item><item><term><see langword="DocumentType" /></term><description> The document type name.</description></item><item><term><see langword="Element" /></term><description> The tag name.</description></item><item><term><see langword="EntityReference" /></term><description> The name of the entity referenced.</description></item><item><term><see langword="ProcessingInstruction" /></term><description> The target of the processing instruction.</description></item><item><term><see langword="XmlDeclaration" /></term><description> The literal string <see langword="xml" />.</description></item></list></returns>
- </member>
- <member name="P:System.Xml.XmlReader.NamespaceURI">
- <summary>When overridden in a derived class, gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>The namespace URI of the current node; otherwise an empty string.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.NameTable">
- <summary>When overridden in a derived class, gets the <see cref="T:System.Xml.XmlNameTable" /> associated with this implementation.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>The <see langword="XmlNameTable" /> enabling you to get the atomized version of a string within the node.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.NodeType">
- <summary>When overridden in a derived class, gets the type of the current node.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>One of the enumeration values that specify the type of the current node.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.Prefix">
- <summary>When overridden in a derived class, gets the namespace prefix associated with the current node.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>The namespace prefix associated with the current node.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.QuoteChar">
- <summary>When overridden in a derived class, gets the quotation mark character used to enclose the value of an attribute node.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>The quotation mark character (" or ') used to enclose the value of an attribute node.</returns>
- </member>
- <member name="P:System.Xml.XmlReader.ReadState">
- <summary>When overridden in a derived class, gets the state of the reader.</summary>
- <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlReader" /> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException" /> is thrown with the message "An asynchronous operation is already in progress."</exception>
- <returns>One of the enumeration values that specifies the state of the reader.</returns>