XmlDictionaryReader.MoveToStartElement XmlDictionaryReader.MoveToStartElement XmlDictionaryReader.MoveToStartElement XmlDictionaryReader.MoveToStartElement Method

定义

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

重载

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.

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(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() MoveToStartElement() MoveToStartElement() MoveToStartElement()

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

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.

public:
 virtual void MoveToStartElement(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri);
public virtual void MoveToStartElement (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri);
abstract member MoveToStartElement : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> unit
override this.MoveToStartElement : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> unit
Public Overridable Sub MoveToStartElement (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString)

参数

localName
XmlDictionaryString XmlDictionaryString XmlDictionaryString XmlDictionaryString

元素的本地名称。The local name of the element.

namespaceUri
XmlDictionaryString XmlDictionaryString XmlDictionaryString XmlDictionaryString

元素的命名空间 URI。The namespace URI of the element.

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.

public:
 virtual void MoveToStartElement(System::String ^ localName, System::String ^ namespaceUri);
public virtual void MoveToStartElement (string localName, string namespaceUri);
abstract member MoveToStartElement : string * string -> unit
override this.MoveToStartElement : string * string -> unit
Public Overridable Sub MoveToStartElement (localName As String, namespaceUri As String)

参数

localName
String String String String

元素的本地名称。The local name of the element.

namespaceUri
String String String String

元素的命名空间 URI。The namespace URI of the 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.

public:
 virtual void MoveToStartElement(System::String ^ name);
public virtual void MoveToStartElement (string name);
abstract member MoveToStartElement : string -> unit
override this.MoveToStartElement : string -> unit
Public Overridable Sub MoveToStartElement (name As String)

参数

name
String String String String

元素的 Name 属性。The Name property of the element.

MoveToStartElement() MoveToStartElement() MoveToStartElement() MoveToStartElement()

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

public:
 virtual void MoveToStartElement();
public virtual void MoveToStartElement ();
abstract member MoveToStartElement : unit -> unit
override this.MoveToStartElement : unit -> unit
Public Overridable Sub MoveToStartElement ()

适用于