XmlDictionaryReader XmlDictionaryReader XmlDictionaryReader XmlDictionaryReader Class

定义

Windows Communication Foundation (WCF) 从 XmlReader 中派生以便执行序列化和反序列化的 abstract 类。An abstract class that the Windows Communication Foundation (WCF) derives from XmlReader to do serialization and deserialization.

public ref class XmlDictionaryReader abstract : System::Xml::XmlReader
public abstract class XmlDictionaryReader : System.Xml.XmlReader
type XmlDictionaryReader = class
    inherit XmlReader
Public MustInherit Class XmlDictionaryReader
Inherits XmlReader
继承
XmlDictionaryReaderXmlDictionaryReaderXmlDictionaryReaderXmlDictionaryReader
派生

注解

此类中的方法读取 XmlDictionary 对象。Methods in this class read XmlDictionary objects.

此类是从 XmlReader 派生的。This class is derived from XmlReader.

请注意,对于 CDATA 部分中换行符的标准化,可能会遇到某个已知问题。Note that there is a known issue with the normalization of linefeed characters inside of CDATA sections that you may encounter.

构造函数

XmlDictionaryReader() XmlDictionaryReader() XmlDictionaryReader() XmlDictionaryReader()

创建此类的实例。Creates an instance of this class. 仅由其派生类调用。Invoked only by its derived classes.

属性

AttributeCount AttributeCount AttributeCount AttributeCount

当在派生类中被重写时,获取当前节点上的属性数。When overridden in a derived class, gets the number of attributes on the current node.

(Inherited from XmlReader)
BaseURI BaseURI BaseURI BaseURI

当在派生类中被重写时,获取当前节点的基 URI。When overridden in a derived class, gets the base URI of the current node.

(Inherited from XmlReader)
CanCanonicalize CanCanonicalize CanCanonicalize CanCanonicalize

此属性始终返回 falseThis property always returns false. 如果派生的类支持规范化,则可以重写这些类以返回 trueIts derived classes can override to return true if they support canonicalization.

CanReadBinaryContent CanReadBinaryContent CanReadBinaryContent CanReadBinaryContent

获取一个值,该值指示 XmlReader 是否实现二进制内容读取方法。Gets a value indicating whether the XmlReader implements the binary content read methods.

(Inherited from XmlReader)
CanReadValueChunk CanReadValueChunk CanReadValueChunk CanReadValueChunk

获取一个值,该值指示 XmlReader 是否实现 ReadValueChunk(Char[], Int32, Int32) 方法。Gets a value indicating whether the XmlReader implements the ReadValueChunk(Char[], Int32, Int32) method.

(Inherited from XmlReader)
CanResolveEntity CanResolveEntity CanResolveEntity CanResolveEntity

获取一个值,该值指示此读取器是否可以分析和解析实体。Gets a value indicating whether this reader can parse and resolve entities.

(Inherited from XmlReader)
Depth Depth Depth Depth

当在派生类中被重写时,获取 XML 文档中当前节点的深度。When overridden in a derived class, gets the depth of the current node in the XML document.

(Inherited from XmlReader)
EOF EOF EOF EOF

当在派生类中被重写时,获取一个值,该值指示此读取器是否定位在流的结尾。When overridden in a derived class, gets a value indicating whether the reader is positioned at the end of the stream.

(Inherited from XmlReader)
HasAttributes HasAttributes HasAttributes HasAttributes

获取一个值,该值指示当前节点是否有任何属性。Gets a value indicating whether the current node has any attributes.

(Inherited from XmlReader)
HasValue HasValue HasValue HasValue

当在派生类中被重写时,获取一个值,该值指示当前节点是否可以具有 ValueWhen overridden in a derived class, gets a value indicating whether the current node can have a Value.

(Inherited from XmlReader)
IsDefault IsDefault IsDefault IsDefault

当在派生类中被重写时,获取一个值,该值指示当前节点是否是从 DTD 或架构中定义的默认值生成的特性。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.

(Inherited from XmlReader)
IsEmptyElement IsEmptyElement IsEmptyElement IsEmptyElement

当在派生类中被重写时,获取一个值,该值指示当前节点是否为空元素(例如 <MyElement/>)。When overridden in a derived class, gets a value indicating whether the current node is an empty element (for example, <MyElement/>).

(Inherited from XmlReader)
Item[Int32] Item[Int32] Item[Int32] Item[Int32]

当在派生类中被重写时,获取具有指定索引的属性的值。When overridden in a derived class, gets the value of the attribute with the specified index.

(Inherited from XmlReader)
Item[String, String] Item[String, String] Item[String, String] Item[String, String]

当在派生类中被重写时,获取具有指定 LocalNameNamespaceURI 的属性的值。When overridden in a derived class, gets the value of the attribute with the specified LocalName and NamespaceURI.

(Inherited from XmlReader)
Item[String] Item[String] Item[String] Item[String]

当在派生类中被重写时,获取具有指定 Name 的属性的值。When overridden in a derived class, gets the value of the attribute with the specified Name.

(Inherited from XmlReader)
LocalName LocalName LocalName LocalName

当在派生类中被重写时,获取当前节点的本地名称。When overridden in a derived class, gets the local name of the current node.

(Inherited from XmlReader)
Name Name Name Name

当在派生类中被重写时,获取当前节点的限定名。When overridden in a derived class, gets the qualified name of the current node.

(Inherited from XmlReader)
NamespaceURI NamespaceURI NamespaceURI NamespaceURI

当在派生类中被重写时,获取读取器定位在其上的节点的命名空间 URI(采用 W3C 命名空间规范中定义的形式)。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.

(Inherited from XmlReader)
NameTable NameTable NameTable NameTable

当在派生类中被重写时,获取与该实现关联的 XmlNameTableWhen overridden in a derived class, gets the XmlNameTable associated with this implementation.

(Inherited from XmlReader)
NodeType NodeType NodeType NodeType

当在派生类中被重写时,获取当前节点的类型。When overridden in a derived class, gets the type of the current node.

(Inherited from XmlReader)
Prefix Prefix Prefix Prefix

当在派生类中被重写时,获取与当前节点关联的命名空间前缀。When overridden in a derived class, gets the namespace prefix associated with the current node.

(Inherited from XmlReader)
Quotas Quotas Quotas Quotas

获取适用于此类的当前实例的配额值。Gets the quota values that apply to the current instance of this class.

QuoteChar QuoteChar QuoteChar QuoteChar

当在派生类中被重写时,获取用于括住特性节点值的引号字符。When overridden in a derived class, gets the quotation mark character used to enclose the value of an attribute node.

(Inherited from XmlReader)
ReadState ReadState ReadState ReadState

当在派生类中被重写时,获取读取器的状态。When overridden in a derived class, gets the state of the reader.

(Inherited from XmlReader)
SchemaInfo SchemaInfo SchemaInfo SchemaInfo

获取作为架构验证结果分配给当前节点的架构信息。Gets the schema information that has been assigned to the current node as a result of schema validation.

(Inherited from XmlReader)
Settings Settings Settings Settings

获取用于创建此 XmlReader 实例的 XmlReaderSettings 对象。Gets the XmlReaderSettings object used to create this XmlReader instance.

(Inherited from XmlReader)
Value Value Value Value

当在派生类中被重写时,获取当前节点的文本值。When overridden in a derived class, gets the text value of the current node.

(Inherited from XmlReader)
ValueType ValueType ValueType ValueType

获取当前节点的公共语言运行时 (CLR) 类型。Gets The Common Language Runtime (CLR) type for the current node.

(Inherited from XmlReader)
XmlLang XmlLang XmlLang XmlLang

当在派生类中被重写时,获取当前的 xml:lang 范围。When overridden in a derived class, gets the current xml:lang scope.

(Inherited from XmlReader)
XmlSpace XmlSpace XmlSpace XmlSpace

当在派生类中被重写时,获取当前的 xml:space 范围。When overridden in a derived class, gets the current xml:space scope.

(Inherited from XmlReader)

方法

Close() Close() Close() Close()

当在派生类中被重写时,将 ReadState 更改为 ClosedWhen overridden in a derived class, changes the ReadState to Closed.

(Inherited from XmlReader)
CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Stream, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateDictionaryReader(XmlReader) CreateDictionaryReader(XmlReader) CreateDictionaryReader(XmlReader) CreateDictionaryReader(XmlReader)

从现有的 XmlDictionaryReader 创建 XmlReader 的实例。Creates an instance of XmlDictionaryReader from an existing XmlReader.

CreateMtomReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas) CreateMtomReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas) CreateMtomReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas) CreateMtomReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas)

创建以 MTOM 格式读取 XML 的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that reads XML in the MTOM format.

CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas) CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas) CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas) CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas)

创建以 MTOM 格式读取 XML 的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that reads XML in the MTOM format.

CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose) CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose) CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose) CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)

创建以 MTOM 格式读取 XML 的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that reads XML in the MTOM format.

CreateMtomReader(Byte[], Int32, Int32, Encoding[], XmlDictionaryReaderQuotas) CreateMtomReader(Byte[], Int32, Int32, Encoding[], XmlDictionaryReaderQuotas) CreateMtomReader(Byte[], Int32, Int32, Encoding[], XmlDictionaryReaderQuotas) CreateMtomReader(Byte[], Int32, Int32, Encoding[], XmlDictionaryReaderQuotas)

创建以 MTOM 格式读取 XML 的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that reads XML in the MTOM format.

CreateMtomReader(Stream, Encoding, XmlDictionaryReaderQuotas) CreateMtomReader(Stream, Encoding, XmlDictionaryReaderQuotas) CreateMtomReader(Stream, Encoding, XmlDictionaryReaderQuotas) CreateMtomReader(Stream, Encoding, XmlDictionaryReaderQuotas)

创建以 MTOM 格式读取 XML 的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that reads XML in the MTOM format.

CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas) CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas) CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas) CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas)

创建以 MTOM 格式读取 XML 的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that reads XML in the MTOM format.

CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose) CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose) CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose) CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)

创建以 MTOM 格式读取 XML 的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that reads XML in the MTOM format.

CreateMtomReader(Stream, Encoding[], XmlDictionaryReaderQuotas) CreateMtomReader(Stream, Encoding[], XmlDictionaryReaderQuotas) CreateMtomReader(Stream, Encoding[], XmlDictionaryReaderQuotas) CreateMtomReader(Stream, Encoding[], XmlDictionaryReaderQuotas)

创建以 MTOM 格式读取 XML 的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that reads XML in the MTOM format.

CreateTextReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

创建 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader.

CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas)

创建 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader.

CreateTextReader(Byte[], XmlDictionaryReaderQuotas) CreateTextReader(Byte[], XmlDictionaryReaderQuotas) CreateTextReader(Byte[], XmlDictionaryReaderQuotas) CreateTextReader(Byte[], XmlDictionaryReaderQuotas)

创建 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader.

CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

创建 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader.

CreateTextReader(Stream, XmlDictionaryReaderQuotas) CreateTextReader(Stream, XmlDictionaryReaderQuotas) CreateTextReader(Stream, XmlDictionaryReaderQuotas) CreateTextReader(Stream, XmlDictionaryReaderQuotas)

创建 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader.

Dispose() Dispose() Dispose() Dispose()

释放 XmlReader 类的当前实例所使用的所有资源。Releases all resources used by the current instance of the XmlReader class.

(Inherited from XmlReader)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

释放由 XmlReader 占用的非托管资源,还可以另外再释放托管资源。Releases the unmanaged resources used by the XmlReader and optionally releases the managed resources.

(Inherited from XmlReader)
EndCanonicalization() EndCanonicalization() EndCanonicalization() EndCanonicalization()

此方法尚未实现。This method is not yet implemented.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetAttribute(Int32) GetAttribute(Int32) GetAttribute(Int32) GetAttribute(Int32)

当在派生类中被重写时,获取具有指定索引的属性的值。When overridden in a derived class, gets the value of the attribute with the specified index.

(Inherited from XmlReader)
GetAttribute(String) GetAttribute(String) GetAttribute(String) GetAttribute(String)

当在派生类中被重写时,获取具有指定 Name 的属性的值。When overridden in a derived class, gets the value of the attribute with the specified Name.

(Inherited from XmlReader)
GetAttribute(String, String) GetAttribute(String, String) GetAttribute(String, String) GetAttribute(String, String)

当在派生类中被重写时,获取具有指定 LocalNameNamespaceURI 的属性的值。When overridden in a derived class, gets the value of the attribute with the specified LocalName and NamespaceURI.

(Inherited from XmlReader)
GetAttribute(XmlDictionaryString, XmlDictionaryString) GetAttribute(XmlDictionaryString, XmlDictionaryString) GetAttribute(XmlDictionaryString, XmlDictionaryString) GetAttribute(XmlDictionaryString, XmlDictionaryString)

当在派生类中被重写时,获取属性的值。When overridden in a derived class, gets the value of an attribute.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetNonAtomizedNames(String, String) GetNonAtomizedNames(String, String) GetNonAtomizedNames(String, String) GetNonAtomizedNames(String, String)

获取非原子化的名称。Gets non-atomized names.

GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
GetValueAsync() GetValueAsync() GetValueAsync() GetValueAsync()

异步获取当前节点的值。Asynchronously gets the value of the current node.

(Inherited from XmlReader)
IndexOfLocalName(String[], String) IndexOfLocalName(String[], String) IndexOfLocalName(String[], String) IndexOfLocalName(String[], String)

获取名称数组中当前节点的本地名称的索引。Gets the index of the local name of the current node within an array of names.

IndexOfLocalName(XmlDictionaryString[], XmlDictionaryString) IndexOfLocalName(XmlDictionaryString[], XmlDictionaryString) IndexOfLocalName(XmlDictionaryString[], XmlDictionaryString) IndexOfLocalName(XmlDictionaryString[], XmlDictionaryString)

获取名称数组中当前节点的本地名称的索引。Gets the index of the local name of the current node within an array of names.

IsLocalName(String) IsLocalName(String) IsLocalName(String) IsLocalName(String)

检查参数 localName 是否为当前节点的本地名称。Checks whether the parameter, localName, is the local name of the current node.

IsLocalName(XmlDictionaryString) IsLocalName(XmlDictionaryString) IsLocalName(XmlDictionaryString) IsLocalName(XmlDictionaryString)

检查参数 localName 是否为当前节点的本地名称。Checks whether the parameter, localName, is the local name of the current node.

IsNamespaceUri(String) IsNamespaceUri(String) IsNamespaceUri(String) IsNamespaceUri(String)

检查参数 namespaceUri 是否为当前节点的命名空间。Checks whether the parameter, namespaceUri, is the namespace of the current node.

IsNamespaceUri(XmlDictionaryString) IsNamespaceUri(XmlDictionaryString) IsNamespaceUri(XmlDictionaryString) IsNamespaceUri(XmlDictionaryString)

检查参数 namespaceUri 是否为当前节点的命名空间。Checks whether the parameter, namespaceUri, is the namespace of the current node.

IsStartArray(Type) IsStartArray(Type) IsStartArray(Type) IsStartArray(Type)

检查读取器是否定位在数组的开头。Checks whether the reader is positioned at the start of an array. 此类返回 false,但具有数组概念的派生类可能返回 trueThis class returns false, but derived classes that have the concept of arrays might return true.

IsStartElement() IsStartElement() IsStartElement() IsStartElement()

调用 MoveToContent() 并测试当前内容节点是否是开始标记或空元素标记。Calls MoveToContent() and tests if the current content node is a start tag or empty element tag.

(Inherited from XmlReader)
IsStartElement(String) IsStartElement(String) IsStartElement(String) IsStartElement(String)

调用 MoveToContent() 并测试当前内容节点是否是开始标记或空元素标记,以及所找到元素的 Name 属性是否与给定的参数匹配。Calls MoveToContent() and tests if the current content node is a start tag or empty element tag and if the Name property of the element found matches the given argument.

(Inherited from XmlReader)
IsStartElement(String, String) IsStartElement(String, String) IsStartElement(String, String) IsStartElement(String, String)

调用 MoveToContent() 并测试当前内容节点是否是开始标记或空元素标记,以及所找到元素的 LocalNameNamespaceURI 属性是否与给定的字符串匹配。Calls MoveToContent() and tests if the current content node is a start tag or empty element tag and if the LocalName and NamespaceURI properties of the element found match the given strings.

(Inherited from XmlReader)
IsStartElement(XmlDictionaryString, XmlDictionaryString) IsStartElement(XmlDictionaryString, XmlDictionaryString) IsStartElement(XmlDictionaryString, XmlDictionaryString) IsStartElement(XmlDictionaryString, XmlDictionaryString)

测试第一个标记是开始标记还是空元素标记,以及本地名称和命名空间 URI 是否与当前节点的本地名称和命名空间 URI 相匹配。Tests whether the first tag is a start tag or empty element tag and if the local name and namespace URI match those of the current node.

IsTextNode(XmlNodeType) IsTextNode(XmlNodeType) IsTextNode(XmlNodeType) IsTextNode(XmlNodeType)

测试当前节点是否为文本节点。Tests whether the current node is a text node.

LookupNamespace(String) LookupNamespace(String) LookupNamespace(String) LookupNamespace(String)

当在派生类中被重写时,在当前元素的范围内解析命名空间前缀。When overridden in a derived class, resolves a namespace prefix in the current element's scope.

(Inherited from XmlReader)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
MoveToAttribute(Int32) MoveToAttribute(Int32) MoveToAttribute(Int32) MoveToAttribute(Int32)

当在派生类中被重写时,移动到具有指定索引的属性。When overridden in a derived class, moves to the attribute with the specified index.

(Inherited from XmlReader)
MoveToAttribute(String) MoveToAttribute(String) MoveToAttribute(String) MoveToAttribute(String)

当在派生类中被重写时,移动到具有指定 Name 的属性。When overridden in a derived class, moves to the attribute with the specified Name.

(Inherited from XmlReader)
MoveToAttribute(String, String) MoveToAttribute(String, String) MoveToAttribute(String, String) MoveToAttribute(String, String)

当在派生类中被重写时,移动到具有指定的 LocalNameNamespaceURI 的属性。When overridden in a derived class, moves to the attribute with the specified LocalName and NamespaceURI.

(Inherited from XmlReader)
MoveToContent() MoveToContent() MoveToContent() MoveToContent()

检查当前节点是否是内容(非空白文本、CDATAElementEndElementEntityReferenceEndEntity)节点。Checks whether the current node is a content (non-white space text, CDATA, Element, EndElement, EntityReference, or EndEntity) node. 如果此节点不是内容节点,则读取器向前跳至下一个内容节点或文件结尾。If the node is not a content node, the reader skips ahead to the next content node or end of file. 它跳过以下类型的节点:ProcessingInstructionDocumentTypeCommentWhitespaceSignificantWhitespaceIt skips over nodes of the following type: ProcessingInstruction, DocumentType, Comment, Whitespace, or SignificantWhitespace.

(Inherited from XmlReader)
MoveToContentAsync() MoveToContentAsync() MoveToContentAsync() MoveToContentAsync()

异步检查当前节点是否为内容节点。Asynchronously checks whether the current node is a content node. 如果此节点不是内容节点,则读取器向前跳至下一个内容节点或文件结尾。If the node is not a content node, the reader skips ahead to the next content node or end of file.

(Inherited from XmlReader)
MoveToElement() MoveToElement() MoveToElement() MoveToElement()

当在派生类中被重写时,移动到包含当前属性节点的元素。When overridden in a derived class, moves to the element that contains the current attribute node.

(Inherited from XmlReader)
MoveToFirstAttribute() MoveToFirstAttribute() MoveToFirstAttribute() MoveToFirstAttribute()

当在派生类中被重写时,移动到第一个属性。When overridden in a derived class, moves to the first attribute.

(Inherited from XmlReader)
MoveToNextAttribute() MoveToNextAttribute() MoveToNextAttribute() MoveToNextAttribute()

当在派生类中被重写时,移动到下一个属性。When overridden in a derived class, moves to the next attribute.

(Inherited from XmlReader)
MoveToStartElement() MoveToStartElement() MoveToStartElement() MoveToStartElement()

测试当前的内容节点是开始元素还是空元素。Tests whether the current content node is a start element or an empty element.

MoveToStartElement(String) MoveToStartElement(String) MoveToStartElement(String) MoveToStartElement(String)

测试当前内容节点是开始元素还是空元素,以及元素的 Name 属性是否与给定的参数匹配。Tests whether the current content node is a start element or an empty element and if the Name property of the element matches the given argument.

MoveToStartElement(String, String) MoveToStartElement(String, String) MoveToStartElement(String, String) MoveToStartElement(String, String)

测试当前内容节点是开始元素还是空元素,以及元素的 LocalNameNamespaceURI 属性是否与给定的参数匹配。Tests whether the current content node is a start element or an empty element and if the LocalName and NamespaceURI properties of the element matches the given arguments.

MoveToStartElement(XmlDictionaryString, XmlDictionaryString) MoveToStartElement(XmlDictionaryString, XmlDictionaryString) MoveToStartElement(XmlDictionaryString, XmlDictionaryString) MoveToStartElement(XmlDictionaryString, XmlDictionaryString)

测试当前内容节点是开始元素还是空元素,以及元素的 LocalNameNamespaceURI 属性是否与给定的参数匹配。Tests whether the current content node is a start element or an empty element and if the LocalName and NamespaceURI properties of the element matches the given argument.

Read() Read() Read() Read()

当在派生类中被重写时,从流中读取下一个节点。When overridden in a derived class, reads the next node from the stream.

(Inherited from XmlReader)
ReadArray(String, String, Boolean[], Int32, Int32) ReadArray(String, String, Boolean[], Int32, Int32) ReadArray(String, String, Boolean[], Int32, Int32) ReadArray(String, String, Boolean[], Int32, Int32)

将重复出现的 Boolean 节点读入类型化数组。Reads repeated occurrences of Boolean nodes into a typed array.

ReadArray(String, String, DateTime[], Int32, Int32) ReadArray(String, String, DateTime[], Int32, Int32) ReadArray(String, String, DateTime[], Int32, Int32) ReadArray(String, String, DateTime[], Int32, Int32)

将重复出现的 DateTime 节点读入类型化数组。Reads repeated occurrences of DateTime nodes into a typed array.

ReadArray(String, String, Decimal[], Int32, Int32) ReadArray(String, String, Decimal[], Int32, Int32) ReadArray(String, String, Decimal[], Int32, Int32) ReadArray(String, String, Decimal[], Int32, Int32)

将重复出现的 Decimal 节点读入类型化数组。Reads repeated occurrences of Decimal nodes into a typed array.

ReadArray(String, String, Double[], Int32, Int32) ReadArray(String, String, Double[], Int32, Int32) ReadArray(String, String, Double[], Int32, Int32) ReadArray(String, String, Double[], Int32, Int32)

将重复出现的 Double 节点读入类型化数组。Reads repeated occurrences of Double nodes into a typed array.

ReadArray(String, String, Guid[], Int32, Int32) ReadArray(String, String, Guid[], Int32, Int32) ReadArray(String, String, Guid[], Int32, Int32) ReadArray(String, String, Guid[], Int32, Int32)

将重复出现的 Guid 节点读入类型化数组。Reads repeated occurrences of Guid nodes into a typed array.

ReadArray(String, String, Int16[], Int32, Int32) ReadArray(String, String, Int16[], Int32, Int32) ReadArray(String, String, Int16[], Int32, Int32) ReadArray(String, String, Int16[], Int32, Int32)

将重复出现的 short 整数读入类型化数组。Reads repeated occurrences of short integers into a typed array.

ReadArray(String, String, Int32[], Int32, Int32) ReadArray(String, String, Int32[], Int32, Int32) ReadArray(String, String, Int32[], Int32, Int32) ReadArray(String, String, Int32[], Int32, Int32)

将重复出现的整数读入类型化数组。Reads repeated occurrences of integers into a typed array.

ReadArray(String, String, Int64[], Int32, Int32) ReadArray(String, String, Int64[], Int32, Int32) ReadArray(String, String, Int64[], Int32, Int32) ReadArray(String, String, Int64[], Int32, Int32)

将重复出现的 long 整数读入类型化数组。Reads repeated occurrences of long integers into a typed array.

ReadArray(String, String, Single[], Int32, Int32) ReadArray(String, String, Single[], Int32, Int32) ReadArray(String, String, Single[], Int32, Int32) ReadArray(String, String, Single[], Int32, Int32)

将重复出现的 float 数读入类型化数组。Reads repeated occurrences of float numbers into a typed array.

ReadArray(String, String, TimeSpan[], Int32, Int32) ReadArray(String, String, TimeSpan[], Int32, Int32) ReadArray(String, String, TimeSpan[], Int32, Int32) ReadArray(String, String, TimeSpan[], Int32, Int32)

将重复出现的 TimeSpan 节点读入类型化数组。Reads repeated occurrences of TimeSpan nodes into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Boolean[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Boolean[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Boolean[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Boolean[], Int32, Int32)

将重复出现的 Boolean 节点读入类型化数组。Reads repeated occurrences of Boolean nodes into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, DateTime[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, DateTime[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, DateTime[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, DateTime[], Int32, Int32)

将重复出现的 DateTime 节点读入类型化数组。Reads repeated occurrences of DateTime nodes into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Decimal[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Decimal[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Decimal[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Decimal[], Int32, Int32)

将重复出现的 Decimal 节点读入类型化数组。Reads repeated occurrences of Decimal nodes into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Double[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Double[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Double[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Double[], Int32, Int32)

将重复出现的 Double 节点类型读入类型化数组。Reads repeated occurrences of Double nodes type into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Guid[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Guid[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Guid[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Guid[], Int32, Int32)

将重复出现的 Guid 节点读入类型化数组。Reads repeated occurrences of Guid nodes into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Int16[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Int16[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Int16[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Int16[], Int32, Int32)

将重复出现的 short 整数读入类型化数组。Reads repeated occurrences of short integers into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Int32[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Int32[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Int32[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Int32[], Int32, Int32)

将重复出现的整数读入类型化数组。Reads repeated occurrences of integers into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Int64[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Int64[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Int64[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Int64[], Int32, Int32)

将重复出现的 long 整数读入类型化数组。Reads repeated occurrences of long integers into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Single[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Single[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Single[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, Single[], Int32, Int32)

将重复出现的 float 数读入类型化数组。Reads repeated occurrences of float numbers into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, TimeSpan[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, TimeSpan[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, TimeSpan[], Int32, Int32) ReadArray(XmlDictionaryString, XmlDictionaryString, TimeSpan[], Int32, Int32)

将重复出现的 TimeSpan 节点读入类型化数组。Reads repeated occurrences of TimeSpan nodes into a typed array.

ReadAsync() ReadAsync() ReadAsync() ReadAsync()

异步读取该流的下一个节点。Asynchronously reads the next node from the stream.

(Inherited from XmlReader)
ReadAttributeValue() ReadAttributeValue() ReadAttributeValue() ReadAttributeValue()

当在派生类中被重写时,将属性值解析为一个或多个 TextEntityReferenceEndEntity 节点。When overridden in a derived class, parses the attribute value into one or more Text, EntityReference, or EndEntity nodes.

(Inherited from XmlReader)
ReadBooleanArray(String, String) ReadBooleanArray(String, String) ReadBooleanArray(String, String) ReadBooleanArray(String, String)

将重复出现的 Boolean 节点读入类型化数组。Reads repeated occurrences of Boolean nodes into a typed array.

ReadBooleanArray(XmlDictionaryString, XmlDictionaryString) ReadBooleanArray(XmlDictionaryString, XmlDictionaryString) ReadBooleanArray(XmlDictionaryString, XmlDictionaryString) ReadBooleanArray(XmlDictionaryString, XmlDictionaryString)

将重复出现的 Boolean 节点读入类型化数组。Reads repeated occurrences of Boolean nodes into a typed array.

ReadContentAs(Type, IXmlNamespaceResolver) ReadContentAs(Type, IXmlNamespaceResolver) ReadContentAs(Type, IXmlNamespaceResolver) ReadContentAs(Type, IXmlNamespaceResolver)

将节点内容转换为指定类型。Converts a node's content to a specified type.

ReadContentAsAsync(Type, IXmlNamespaceResolver) ReadContentAsAsync(Type, IXmlNamespaceResolver) ReadContentAsAsync(Type, IXmlNamespaceResolver) ReadContentAsAsync(Type, IXmlNamespaceResolver)

将内容作为指定类型的对象异步读取。Asynchronously reads the content as an object of the type specified.

(Inherited from XmlReader)
ReadContentAsBase64() ReadContentAsBase64() ReadContentAsBase64() ReadContentAsBase64()

读取内容并返回 Base64 解码的二进制字节。Reads the content and returns the Base64 decoded binary bytes.

ReadContentAsBase64(Byte[], Int32, Int32) ReadContentAsBase64(Byte[], Int32, Int32) ReadContentAsBase64(Byte[], Int32, Int32) ReadContentAsBase64(Byte[], Int32, Int32)

读取内容并返回 Base64 解码的二进制字节。Reads the content and returns the Base64 decoded binary bytes.

(Inherited from XmlReader)
ReadContentAsBase64Async(Byte[], Int32, Int32) ReadContentAsBase64Async(Byte[], Int32, Int32) ReadContentAsBase64Async(Byte[], Int32, Int32) ReadContentAsBase64Async(Byte[], Int32, Int32)

异步读取内容并返回 Base64 解码的二进制字节。Asynchronously reads the content and returns the Base64 decoded binary bytes.

(Inherited from XmlReader)
ReadContentAsBinHex() ReadContentAsBinHex() ReadContentAsBinHex() ReadContentAsBinHex()

读取内容并返回 BinHex 解码的二进制字节。Reads the content and returns the BinHex decoded binary bytes.

ReadContentAsBinHex(Byte[], Int32, Int32) ReadContentAsBinHex(Byte[], Int32, Int32) ReadContentAsBinHex(Byte[], Int32, Int32) ReadContentAsBinHex(Byte[], Int32, Int32)

读取内容并返回 BinHex 解码的二进制字节。Reads the content and returns the BinHex decoded binary bytes.

(Inherited from XmlReader)
ReadContentAsBinHex(Int32) ReadContentAsBinHex(Int32) ReadContentAsBinHex(Int32) ReadContentAsBinHex(Int32)

读取内容并返回 BinHex 解码的二进制字节。Reads the content and returns the BinHex decoded binary bytes.

ReadContentAsBinHexAsync(Byte[], Int32, Int32) ReadContentAsBinHexAsync(Byte[], Int32, Int32) ReadContentAsBinHexAsync(Byte[], Int32, Int32) ReadContentAsBinHexAsync(Byte[], Int32, Int32)

异步读取内容并返回 BinHex 解码的二进制字节。Asynchronously reads the content and returns the BinHex decoded binary bytes.

(Inherited from XmlReader)
ReadContentAsBoolean() ReadContentAsBoolean() ReadContentAsBoolean() ReadContentAsBoolean()

将当前位置的文本内容作为 Boolean 读取。Reads the text content at the current position as a Boolean.

(Inherited from XmlReader)
ReadContentAsChars(Char[], Int32, Int32) ReadContentAsChars(Char[], Int32, Int32) ReadContentAsChars(Char[], Int32, Int32) ReadContentAsChars(Char[], Int32, Int32)

将内容读入 char 数组。Reads the content into a char array.

ReadContentAsDateTime() ReadContentAsDateTime() ReadContentAsDateTime() ReadContentAsDateTime()

将当前位置的文本内容作为 DateTime 对象读取。Reads the text content at the current position as a DateTime object.

(Inherited from XmlReader)
ReadContentAsDateTimeOffset() ReadContentAsDateTimeOffset() ReadContentAsDateTimeOffset() ReadContentAsDateTimeOffset()

将当前位置的文本内容作为 DateTimeOffset 对象读取。Reads the text content at the current position as a DateTimeOffset object.

(Inherited from XmlReader)
ReadContentAsDecimal() ReadContentAsDecimal() ReadContentAsDecimal() ReadContentAsDecimal()

将节点内容转换为 decimalConverts a node's content to decimal.

ReadContentAsDouble() ReadContentAsDouble() ReadContentAsDouble() ReadContentAsDouble()

将当前位置的文本内容作为双精度浮点数读取。Reads the text content at the current position as a double-precision floating-point number.

(Inherited from XmlReader)
ReadContentAsFloat() ReadContentAsFloat() ReadContentAsFloat() ReadContentAsFloat()

将节点内容转换为 floatConverts a node's content to float.

ReadContentAsGuid() ReadContentAsGuid() ReadContentAsGuid() ReadContentAsGuid()

将节点内容转换为 guidConverts a node's content to guid.

ReadContentAsInt() ReadContentAsInt() ReadContentAsInt() ReadContentAsInt()

将当前位置的文本内容作为 32 位有符号整数读取。Reads the text content at the current position as a 32-bit signed integer.

(Inherited from XmlReader)
ReadContentAsLong() ReadContentAsLong() ReadContentAsLong() ReadContentAsLong()

将当前位置的文本内容作为 64 位有符号整数读取。Reads the text content at the current position as a 64-bit signed integer.

(Inherited from XmlReader)
ReadContentAsObject() ReadContentAsObject() ReadContentAsObject() ReadContentAsObject()

将当前位置的文本内容作为 Object 读取。Reads the text content at the current position as an Object.

(Inherited from XmlReader)
ReadContentAsObjectAsync() ReadContentAsObjectAsync() ReadContentAsObjectAsync() ReadContentAsObjectAsync()

将当前位置的文本内容作为 Object 对象异步读取。Asynchronously reads the text content at the current position as an Object.

(Inherited from XmlReader)
ReadContentAsQualifiedName(String, String) ReadContentAsQualifiedName(String, String) ReadContentAsQualifiedName(String, String) ReadContentAsQualifiedName(String, String)

将节点内容转换为限定名表示形式。Converts a node's content to a qualified name representation.

ReadContentAsString() ReadContentAsString() ReadContentAsString() ReadContentAsString()

将节点内容转换为字符串。Converts a node's content to a string.

ReadContentAsString(Int32) ReadContentAsString(Int32) ReadContentAsString(Int32) ReadContentAsString(Int32)

将节点内容转换为字符串。Converts a node's content to a string.

ReadContentAsString(String[], Int32) ReadContentAsString(String[], Int32) ReadContentAsString(String[], Int32) ReadContentAsString(String[], Int32)

将节点内容转换为字符串。Converts a node's content to a string.

ReadContentAsString(XmlDictionaryString[], Int32) ReadContentAsString(XmlDictionaryString[], Int32) ReadContentAsString(XmlDictionaryString[], Int32) ReadContentAsString(XmlDictionaryString[], Int32)

将节点内容转换为字符串。Converts a node's content to a string.

ReadContentAsStringAsync() ReadContentAsStringAsync() ReadContentAsStringAsync() ReadContentAsStringAsync()

将当前位置的文本内容作为 String 对象异步读取。Asynchronously reads the text content at the current position as a String object.

(Inherited from XmlReader)
ReadContentAsTimeSpan() ReadContentAsTimeSpan() ReadContentAsTimeSpan() ReadContentAsTimeSpan()

将节点内容转换为 TimeSpanConverts a node's content to TimeSpan.

ReadContentAsUniqueId() ReadContentAsUniqueId() ReadContentAsUniqueId() ReadContentAsUniqueId()

将节点内容转换为唯一标识符。Converts a node's content to a unique identifier.

ReadDateTimeArray(String, String) ReadDateTimeArray(String, String) ReadDateTimeArray(String, String) ReadDateTimeArray(String, String)

将节点内容转换为 DateTime 数组。Converts a node's content to a DateTime array.

ReadDateTimeArray(XmlDictionaryString, XmlDictionaryString) ReadDateTimeArray(XmlDictionaryString, XmlDictionaryString) ReadDateTimeArray(XmlDictionaryString, XmlDictionaryString) ReadDateTimeArray(XmlDictionaryString, XmlDictionaryString)

将节点内容转换为 DateTime 数组。Converts a node's content to a DateTime array.

ReadDecimalArray(String, String) ReadDecimalArray(String, String) ReadDecimalArray(String, String) ReadDecimalArray(String, String)

将节点内容转换为 Decimal 数组。Converts a node's content to a Decimal array.

ReadDecimalArray(XmlDictionaryString, XmlDictionaryString) ReadDecimalArray(XmlDictionaryString, XmlDictionaryString) ReadDecimalArray(XmlDictionaryString, XmlDictionaryString) ReadDecimalArray(XmlDictionaryString, XmlDictionaryString)

将节点内容转换为 Decimal 数组。Converts a node's content to a Decimal array.

ReadDoubleArray(String, String) ReadDoubleArray(String, String) ReadDoubleArray(String, String) ReadDoubleArray(String, String)

将节点内容转换为 Double 数组。Converts a node's content to a Double array.

ReadDoubleArray(XmlDictionaryString, XmlDictionaryString) ReadDoubleArray(XmlDictionaryString, XmlDictionaryString) ReadDoubleArray(XmlDictionaryString, XmlDictionaryString) ReadDoubleArray(XmlDictionaryString, XmlDictionaryString)

将节点内容转换为 Double 数组。Converts a node's content to a Double array.

ReadElementContentAs(Type, IXmlNamespaceResolver) ReadElementContentAs(Type, IXmlNamespaceResolver) ReadElementContentAs(Type, IXmlNamespaceResolver) ReadElementContentAs(Type, IXmlNamespaceResolver)

将元素内容作为请求类型读取。Reads the element content as the requested type.

(Inherited from XmlReader)
ReadElementContentAs(Type, IXmlNamespaceResolver, String, String) ReadElementContentAs(Type, IXmlNamespaceResolver, String, String) ReadElementContentAs(Type, IXmlNamespaceResolver, String, String) ReadElementContentAs(Type, IXmlNamespaceResolver, String, String)

检查指定的本地名称和命名空间 URI 与当前元素的本地名称和命名空间 URI 是否匹配,然后将元素内容作为请求类型读取。Checks that the specified local name and namespace URI matches that of the current element, then reads the element content as the requested type.

(Inherited from XmlReader)
ReadElementContentAsAsync(Type, IXmlNamespaceResolver) ReadElementContentAsAsync(Type, IXmlNamespaceResolver) ReadElementContentAsAsync(Type, IXmlNamespaceResolver) ReadElementContentAsAsync(Type, IXmlNamespaceResolver)

将元素内容作为请求类型异步读取。Asynchronously reads the element content as the requested type.

(Inherited from XmlReader)
ReadElementContentAsBase64() ReadElementContentAsBase64() ReadElementContentAsBase64() ReadElementContentAsBase64()

将节点内容转换为 Base64 字节的数组。Converts a node's content to a array of Base64 bytes.

ReadElementContentAsBase64(Byte[], Int32, Int32) ReadElementContentAsBase64(Byte[], Int32, Int32) ReadElementContentAsBase64(Byte[], Int32, Int32) ReadElementContentAsBase64(Byte[], Int32, Int32)

读取元素并对 Base64 内容进行解码。Reads the element and decodes the Base64 content.

(Inherited from XmlReader)
ReadElementContentAsBase64Async(Byte[], Int32, Int32) ReadElementContentAsBase64Async(Byte[], Int32, Int32) ReadElementContentAsBase64Async(Byte[], Int32, Int32) ReadElementContentAsBase64Async(Byte[], Int32, Int32)

异步读取元素并对 Base64 内容进行解码。Asynchronously reads the element and decodes the Base64 content.

(Inherited from XmlReader)
ReadElementContentAsBinHex() ReadElementContentAsBinHex() ReadElementContentAsBinHex() ReadElementContentAsBinHex()

将节点内容转换为 BinHex 字节的数组。Converts a node's content to an array of BinHex bytes.

ReadElementContentAsBinHex(Byte[], Int32, Int32) ReadElementContentAsBinHex(Byte[], Int32, Int32) ReadElementContentAsBinHex(Byte[], Int32, Int32) ReadElementContentAsBinHex(Byte[], Int32, Int32)

读取元素并对 BinHex 内容进行解码。Reads the element and decodes the BinHex content.

(Inherited from XmlReader)
ReadElementContentAsBinHexAsync(Byte[], Int32, Int32) ReadElementContentAsBinHexAsync(Byte[], Int32, Int32) ReadElementContentAsBinHexAsync(Byte[], Int32, Int32) ReadElementContentAsBinHexAsync(Byte[], Int32, Int32)

异步读取元素并对 BinHex 内容进行解码。Asynchronously reads the element and decodes the BinHex content.

(Inherited from XmlReader)
ReadElementContentAsBoolean() ReadElementContentAsBoolean() ReadElementContentAsBoolean() ReadElementContentAsBoolean()

将元素内容转换为 BooleanConverts an element's content to a Boolean.

ReadElementContentAsBoolean(String, String) ReadElementContentAsBoolean(String, String) ReadElementContentAsBoolean(String, String) ReadElementContentAsBoolean(String, String)

检查指定的本地名称和命名空间 URI 与当前元素的本地名称和命名空间 URI 是否匹配,然后读取当前元素,并将内容作为 Boolean 对象返回。Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a Boolean object.

(Inherited from XmlReader)
ReadElementContentAsDateTime() ReadElementContentAsDateTime() ReadElementContentAsDateTime() ReadElementContentAsDateTime()

将元素内容转换为 DateTimeConverts an element's content to a DateTime.

ReadElementContentAsDateTime(String, String) ReadElementContentAsDateTime(String, String) ReadElementContentAsDateTime(String, String) ReadElementContentAsDateTime(String, String)

检查指定的本地名称和命名空间 URI 与当前元素的本地名称和命名空间 URI 是否匹配,然后读取当前元素,并将内容作为 DateTime 对象返回。Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a DateTime object.

(Inherited from XmlReader)
ReadElementContentAsDecimal() ReadElementContentAsDecimal() ReadElementContentAsDecimal() ReadElementContentAsDecimal()

将元素内容转换为 DecimalConverts an element's content to a Decimal.

ReadElementContentAsDecimal(String, String) ReadElementContentAsDecimal(String, String) ReadElementContentAsDecimal(String, String) ReadElementContentAsDecimal(String, String)

检查指定的本地名称和命名空间 URI 与当前元素的本地名称和命名空间 URI 是否匹配,然后读取当前元素,并将内容作为 Decimal 对象返回。Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a Decimal object.

(Inherited from XmlReader)
ReadElementContentAsDouble() ReadElementContentAsDouble() ReadElementContentAsDouble() ReadElementContentAsDouble()

将元素内容转换为 DoubleConverts an element's content to a Double.

ReadElementContentAsDouble(String, String) ReadElementContentAsDouble(String, String) ReadElementContentAsDouble(String, String) ReadElementContentAsDouble(String, String)

检查指定的本地名称和命名空间 URI 与当前元素的本地名称和命名空间 URI 是否匹配,然后读取当前元素,并将内容作为双精度浮点数返回。Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a double-precision floating-point number.

(Inherited from XmlReader)
ReadElementContentAsFloat() ReadElementContentAsFloat() ReadElementContentAsFloat() ReadElementContentAsFloat()

将元素内容转换为浮点数 (Single)。Converts an element's content to a floating point number (Single).

ReadElementContentAsFloat(String, String) ReadElementContentAsFloat(String, String) ReadElementContentAsFloat(String, String) ReadElementContentAsFloat(String, String)

检查指定的本地名称和命名空间 URI 与当前元素的本地名称和命名空间 URI 是否匹配,然后读取当前元素,并将内容作为单精度浮点数返回。Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a single-precision floating-point number.

(Inherited from XmlReader)
ReadElementContentAsGuid() ReadElementContentAsGuid() ReadElementContentAsGuid() ReadElementContentAsGuid()

将元素内容转换为 GuidConverts an element's content to a Guid.

ReadElementContentAsInt() ReadElementContentAsInt() ReadElementContentAsInt() ReadElementContentAsInt()

将元素内容转换为整数 (Int32)。Converts an element's content to an integer (Int32).

ReadElementContentAsInt(String, String) ReadElementContentAsInt(String, String) ReadElementContentAsInt(String, String) ReadElementContentAsInt(String, String)

检查指定的本地名称和命名空间 URI 与当前元素的本地名称和命名空间 URI 是否匹配,然后读取当前元素,并将内容作为 32 位有符号整数返回。Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a 32-bit signed integer.

(Inherited from XmlReader)
ReadElementContentAsLong() ReadElementContentAsLong() ReadElementContentAsLong() ReadElementContentAsLong()

将元素内容转换为长整型 (Int64)。Converts an element's content to a long integer (Int64).

ReadElementContentAsLong(String, String) ReadElementContentAsLong(String, String) ReadElementContentAsLong(String, String) ReadElementContentAsLong(String, String)

检查指定的本地名称和命名空间 URI 与当前元素的本地名称和命名空间 URI 是否匹配,然后读取当前元素,并将内容作为 64 位有符号整数返回。Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a 64-bit signed integer.

(Inherited from XmlReader)
ReadElementContentAsObject() ReadElementContentAsObject() ReadElementContentAsObject() ReadElementContentAsObject()

读取当前元素并将内容作为 Object 返回。Reads the current element and returns the contents as an Object.

(Inherited from XmlReader)
ReadElementContentAsObject(String, String) ReadElementContentAsObject(String, String) ReadElementContentAsObject(String, String) ReadElementContentAsObject(String, String)

检查指定的本地名称和命名空间 URI 与当前元素的本地名称和命名空间 URI 是否匹配,然后读取当前元素,并将内容作为 Object 返回。Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as an Object.

(Inherited from XmlReader)
ReadElementContentAsObjectAsync() ReadElementContentAsObjectAsync() ReadElementContentAsObjectAsync() ReadElementContentAsObjectAsync()

异步读取当前元素并将内容作为 Object 返回。Asynchronously reads the current element and returns the contents as an Object.

(Inherited from XmlReader)
ReadElementContentAsString() ReadElementContentAsString() ReadElementContentAsString() ReadElementContentAsString()

将元素内容转换为 StringConverts an element's content to a String.

ReadElementContentAsString(String, String) ReadElementContentAsString(String, String) ReadElementContentAsString(String, String) ReadElementContentAsString(String, String)

检查指定的本地名称和命名空间 URI 与当前元素的本地名称和命名空间 URI 是否匹配,然后读取当前元素,并将内容作为 String 对象返回。Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a String object.

(Inherited from XmlReader)
ReadElementContentAsStringAsync() ReadElementContentAsStringAsync() ReadElementContentAsStringAsync() ReadElementContentAsStringAsync()

异步读取当前元素并将内容作为 String 对象返回。Asynchronously reads the current element and returns the contents as a String object.

(Inherited from XmlReader)
ReadElementContentAsTimeSpan() ReadElementContentAsTimeSpan() ReadElementContentAsTimeSpan() ReadElementContentAsTimeSpan()

将元素内容转换为 TimeSpanConverts an element's content to a TimeSpan.

ReadElementContentAsUniqueId() ReadElementContentAsUniqueId() ReadElementContentAsUniqueId() ReadElementContentAsUniqueId()

将元素的内容转换为唯一标识符。Converts an element's content to a unique identifier.

ReadElementString() ReadElementString() ReadElementString() ReadElementString()

读取纯文本元素。Reads a text-only element. 但是,建议改用 ReadElementContentAsString() 方法,因为该方法可以更直接地处理此操作。However, we recommend that you use the ReadElementContentAsString() method instead, because it provides a more straightforward way to handle this operation.

(Inherited from XmlReader)
ReadElementString(String) ReadElementString(String) ReadElementString(String) ReadElementString(String)

在读取纯文本元素之前,检查所找到元素的 Name 属性是否与给定的字符串匹配。Checks that the Name property of the element found matches the given string before reading a text-only element. 但是,建议改用 ReadElementContentAsString() 方法,因为该方法可以更直接地处理此操作。However, we recommend that you use the ReadElementContentAsString() method instead, because it provides a more straightforward way to handle this operation.

(Inherited from XmlReader)
ReadElementString(String, String) ReadElementString(String, String) ReadElementString(String, String) ReadElementString(String, String)

在读取纯文本元素之前,检查所找到元素的 LocalNameNamespaceURI 属性是否与给定的字符串匹配。Checks that the LocalName and NamespaceURI properties of the element found matches the given strings before reading a text-only element. 但是,建议改用 ReadElementContentAsString(String, String) 方法,因为该方法可以更直接地处理此操作。However, we recommend that you use the ReadElementContentAsString(String, String) method instead, because it provides a more straightforward way to handle this operation.

(Inherited from XmlReader)
ReadEndElement() ReadEndElement() ReadEndElement() ReadEndElement()

检查当前内容节点是否为结束标记并将读取器推进到下一个节点。Checks that the current content node is an end tag and advances the reader to the next node.

(Inherited from XmlReader)
ReadFullStartElement() ReadFullStartElement() ReadFullStartElement() ReadFullStartElement()

检查当前节点是否为元素并将读取器推进到下一个节点。Checks whether the current node is an element and advances the reader to the next node.

ReadFullStartElement(String) ReadFullStartElement(String) ReadFullStartElement(String) ReadFullStartElement(String)

检查当前节点是否为具有给定 name 的元素,并将读取器推进到下一个节点。Checks whether the current node is an element with the given name and advances the reader to the next node.

ReadFullStartElement(String, String) ReadFullStartElement(String, String) ReadFullStartElement(String, String) ReadFullStartElement(String, String)

检查当前节点是否为具有给定 localNamenamespaceUri 的元素,并将读取器推进到下一个节点。Checks whether the current node is an element with the given localName and namespaceUri and advances the reader to the next node.

ReadFullStartElement(XmlDictionaryString, XmlDictionaryString) ReadFullStartElement(XmlDictionaryString, XmlDictionaryString) ReadFullStartElement(XmlDictionaryString, XmlDictionaryString) ReadFullStartElement(XmlDictionaryString, XmlDictionaryString)

检查当前节点是否为具有给定 localNamenamespaceUri 的元素,并将读取器推进到下一个节点。Checks whether the current node is an element with the given localName and namespaceUri and advances the reader to the next node.

ReadGuidArray(String, String) ReadGuidArray(String, String) ReadGuidArray(String, String) ReadGuidArray(String, String)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 Guid 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of Guid.

ReadGuidArray(XmlDictionaryString, XmlDictionaryString) ReadGuidArray(XmlDictionaryString, XmlDictionaryString) ReadGuidArray(XmlDictionaryString, XmlDictionaryString) ReadGuidArray(XmlDictionaryString, XmlDictionaryString)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 Guid 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of Guid.

ReadInnerXml() ReadInnerXml() ReadInnerXml() ReadInnerXml()

当在派生类中被重写时,将所有内容(包括标记)当做字符串读取。When overridden in a derived class, reads all the content, including markup, as a string.

(Inherited from XmlReader)
ReadInnerXmlAsync() ReadInnerXmlAsync() ReadInnerXmlAsync() ReadInnerXmlAsync()

异步读取所有内容,包括作为字符串的标记。Asynchronously reads all the content, including markup, as a string.

(Inherited from XmlReader)
ReadInt16Array(String, String) ReadInt16Array(String, String) ReadInt16Array(String, String) ReadInt16Array(String, String)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 short 整数 (Int16) 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of short integers (Int16).

ReadInt16Array(XmlDictionaryString, XmlDictionaryString) ReadInt16Array(XmlDictionaryString, XmlDictionaryString) ReadInt16Array(XmlDictionaryString, XmlDictionaryString) ReadInt16Array(XmlDictionaryString, XmlDictionaryString)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 short 整数 (Int16) 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of short integers (Int16).

ReadInt32Array(String, String) ReadInt32Array(String, String) ReadInt32Array(String, String) ReadInt32Array(String, String)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入整数 (Int32) 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of integers (Int32).

ReadInt32Array(XmlDictionaryString, XmlDictionaryString) ReadInt32Array(XmlDictionaryString, XmlDictionaryString) ReadInt32Array(XmlDictionaryString, XmlDictionaryString) ReadInt32Array(XmlDictionaryString, XmlDictionaryString)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入整数 (Int32) 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of integers (Int32).

ReadInt64Array(String, String) ReadInt64Array(String, String) ReadInt64Array(String, String) ReadInt64Array(String, String)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 long 整数 (Int64) 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of long integers (Int64).

ReadInt64Array(XmlDictionaryString, XmlDictionaryString) ReadInt64Array(XmlDictionaryString, XmlDictionaryString) ReadInt64Array(XmlDictionaryString, XmlDictionaryString) ReadInt64Array(XmlDictionaryString, XmlDictionaryString)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 long 整数 (Int64) 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of long integers (Int64).

ReadOuterXml() ReadOuterXml() ReadOuterXml() ReadOuterXml()

当在派生类中被重写时,读取表示该节点和所有它的子级的内容(包括标记)。When overridden in a derived class, reads the content, including markup, representing this node and all its children.

(Inherited from XmlReader)
ReadOuterXmlAsync() ReadOuterXmlAsync() ReadOuterXmlAsync() ReadOuterXmlAsync()

异步读取包含该节点和所有它的子级的内容(包括标记)。Asynchronously reads the content, including markup, representing this node and all its children.

(Inherited from XmlReader)
ReadSingleArray(String, String) ReadSingleArray(String, String) ReadSingleArray(String, String) ReadSingleArray(String, String)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 float 数 (Single) 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of float numbers (Single).

ReadSingleArray(XmlDictionaryString, XmlDictionaryString) ReadSingleArray(XmlDictionaryString, XmlDictionaryString) ReadSingleArray(XmlDictionaryString, XmlDictionaryString) ReadSingleArray(XmlDictionaryString, XmlDictionaryString)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 float 数 (Single) 的数组。Reads the contents of a series of nodes with the given localName and namespaceUri into an array of float numbers (Single).

ReadStartElement() ReadStartElement() ReadStartElement() ReadStartElement()

检查当前节点是否为元素并将读取器推进到下一个节点。Checks that the current node is an element and advances the reader to the next node.

(Inherited from XmlReader)
ReadStartElement(String) ReadStartElement(String) ReadStartElement(String) ReadStartElement(String)

检查当前内容节点是否为具有给定 Name 的元素并将读取器推进到下一个节点。Checks that the current content node is an element with the given Name and advances the reader to the next node.

(Inherited from XmlReader)
ReadStartElement(String, String) ReadStartElement(String, String) ReadStartElement(String, String) ReadStartElement(String, String)

检查当前内容节点是否为具有给定 LocalNameNamespaceURI 的元素并将读取器推进到下一个节点。Checks that the current content node is an element with the given LocalName and NamespaceURI and advances the reader to the next node.

(Inherited from XmlReader)
ReadStartElement(XmlDictionaryString, XmlDictionaryString) ReadStartElement(XmlDictionaryString, XmlDictionaryString) ReadStartElement(XmlDictionaryString, XmlDictionaryString) ReadStartElement(XmlDictionaryString, XmlDictionaryString)

检查当前节点是否为具有给定 localNamenamespaceUri 的元素,并将读取器推进到下一个节点。Checks whether the current node is an element with the given localName and namespaceUri and advances the reader to the next node.

ReadString() ReadString() ReadString() ReadString()

将当前节点的内容读入字符串。Reads the contents of the current node into a string.

ReadString(Int32) ReadString(Int32) ReadString(Int32) ReadString(Int32)

将当前节点的内容读入具有最大给定长度的字符串。Reads the contents of the current node into a string with a given maximum length.

ReadSubtree() ReadSubtree() ReadSubtree() ReadSubtree()

返回新的 XmlReader 实例,此实例可用于读取当前节点及其所有子节点。Returns a new XmlReader instance that can be used to read the current node, and all its descendants.

(Inherited from XmlReader)
ReadTimeSpanArray(String, String) ReadTimeSpanArray(String, String) ReadTimeSpanArray(String, String) ReadTimeSpanArray(String, String)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 TimeSpan 数组。Reads the contents of a series of nodes with the given localName and namespaceUri into a TimeSpan array.

ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString) ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString) ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString) ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 TimeSpan 数组。Reads the contents of a series of nodes with the given localName and namespaceUri into a TimeSpan array.

ReadToDescendant(String) ReadToDescendant(String) ReadToDescendant(String) ReadToDescendant(String)

XmlReader 前进到下一个具有指定限定名的子代元素。Advances the XmlReader to the next descendant element with the specified qualified name.

(Inherited from XmlReader)
ReadToDescendant(String, String) ReadToDescendant(String, String) ReadToDescendant(String, String) ReadToDescendant(String, String)

XmlReader 前进到下一个具有指定的本地名称和命名空间 URI 的子代元素。Advances the XmlReader to the next descendant element with the specified local name and namespace URI.

(Inherited from XmlReader)
ReadToFollowing(String) ReadToFollowing(String) ReadToFollowing(String) ReadToFollowing(String)

一直读取,直到找到具有指定限定名的元素。Reads until an element with the specified qualified name is found.

(Inherited from XmlReader)
ReadToFollowing(String, String) ReadToFollowing(String, String) ReadToFollowing(String, String) ReadToFollowing(String, String)

一直读取,直到找到具有指定的本地名称和命名空间 URI 的元素。Reads until an element with the specified local name and namespace URI is found.

(Inherited from XmlReader)
ReadToNextSibling(String) ReadToNextSibling(String) ReadToNextSibling(String) ReadToNextSibling(String)

XmlReader 前进到下一个具有指定限定名的同级元素。Advances the XmlReader to the next sibling element with the specified qualified name.

(Inherited from XmlReader)
ReadToNextSibling(String, String) ReadToNextSibling(String, String) ReadToNextSibling(String, String) ReadToNextSibling(String, String)

XmlReader 推进到具有指定的本地名称和命名空间 URI 的下一个同级元素。Advances the XmlReader to the next sibling element with the specified local name and namespace URI.

(Inherited from XmlReader)
ReadValueAsBase64(Byte[], Int32, Int32) ReadValueAsBase64(Byte[], Int32, Int32) ReadValueAsBase64(Byte[], Int32, Int32) ReadValueAsBase64(Byte[], Int32, Int32)

未实现。Not implemented.

ReadValueChunk(Char[], Int32, Int32) ReadValueChunk(Char[], Int32, Int32) ReadValueChunk(Char[], Int32, Int32) ReadValueChunk(Char[], Int32, Int32)

读取嵌入在 XML 文档中的大量文本流。Reads large streams of text embedded in an XML document.

(Inherited from XmlReader)
ReadValueChunkAsync(Char[], Int32, Int32) ReadValueChunkAsync(Char[], Int32, Int32) ReadValueChunkAsync(Char[], Int32, Int32) ReadValueChunkAsync(Char[], Int32, Int32)

异步读取嵌入在 XML 文档中的大量文本流。Asynchronously reads large streams of text embedded in an XML document.

(Inherited from XmlReader)
ResolveEntity() ResolveEntity() ResolveEntity() ResolveEntity()

当在派生类中被重写时,解析 EntityReference 节点的实体引用。When overridden in a derived class, resolves the entity reference for EntityReference nodes.

(Inherited from XmlReader)
Skip() Skip() Skip() Skip()

跳过当前节点的子级。Skips the children of the current node.

(Inherited from XmlReader)
SkipAsync() SkipAsync() SkipAsync() SkipAsync()

异步跳过当前节点的子级。Asynchronously skips the children of the current node.

(Inherited from XmlReader)
StartCanonicalization(Stream, Boolean, String[]) StartCanonicalization(Stream, Boolean, String[]) StartCanonicalization(Stream, Boolean, String[]) StartCanonicalization(Stream, Boolean, String[])

此方法尚未实现。This method is not yet implemented.

ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)
TryGetArrayLength(Int32) TryGetArrayLength(Int32) TryGetArrayLength(Int32) TryGetArrayLength(Int32)

不在此类中实现(它始终返回 false)。Not implemented in this class (it always returns false). 可在派生类中重写。May be overridden in derived classes.

TryGetBase64ContentLength(Int32) TryGetBase64ContentLength(Int32) TryGetBase64ContentLength(Int32) TryGetBase64ContentLength(Int32)

不在此类中实现(它始终返回 false)。Not implemented in this class (it always returns false). 可在派生类中重写。May be overridden in derived classes.

TryGetLocalNameAsDictionaryString(XmlDictionaryString) TryGetLocalNameAsDictionaryString(XmlDictionaryString) TryGetLocalNameAsDictionaryString(XmlDictionaryString) TryGetLocalNameAsDictionaryString(XmlDictionaryString)

不在此类中实现(它始终返回 false)。Not implemented in this class (it always returns false). 可在派生类中重写。May be overridden in derived classes.

TryGetNamespaceUriAsDictionaryString(XmlDictionaryString) TryGetNamespaceUriAsDictionaryString(XmlDictionaryString) TryGetNamespaceUriAsDictionaryString(XmlDictionaryString) TryGetNamespaceUriAsDictionaryString(XmlDictionaryString)

不在此类中实现(它始终返回 false)。Not implemented in this class (it always returns false). 可在派生类中重写。May be overridden in derived classes.

TryGetValueAsDictionaryString(XmlDictionaryString) TryGetValueAsDictionaryString(XmlDictionaryString) TryGetValueAsDictionaryString(XmlDictionaryString) TryGetValueAsDictionaryString(XmlDictionaryString)

不在此类中实现(它始终返回 false)。Not implemented in this class (it always returns false). 可在派生类中重写。May be overridden in derived classes.

显式界面实现

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose()

有关此成员的说明,请参见 Dispose()For a description of this member, see Dispose().

(Inherited from XmlReader)

适用于