XmlDictionaryReader.MoveToStartElement 方法
定义
测试当前的内容节点是开始元素还是空元素。Tests whether the current content node is a start element or an empty element.
重载
| MoveToStartElement(XmlDictionaryString, XmlDictionaryString) |
测试当前内容节点是开始元素还是空元素,以及元素的 LocalName 和 NamespaceURI 属性是否与给定的参数匹配。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) |
测试当前内容节点是开始元素还是空元素,以及元素的 LocalName 和 NamespaceURI 属性是否与给定的参数匹配。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) |
测试当前内容节点是开始元素还是空元素,以及元素的 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() |
测试当前的内容节点是开始元素还是空元素。Tests whether the current content node is a start element or an empty element. |
MoveToStartElement(XmlDictionaryString, XmlDictionaryString)
测试当前内容节点是开始元素还是空元素,以及元素的 LocalName 和 NamespaceURI 属性是否与给定的参数匹配。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
元素的本地名称。The local name of the element.
- namespaceUri
- XmlDictionaryString
元素的命名空间 URI。The namespace URI of the element.
适用于
MoveToStartElement(String, String)
测试当前内容节点是开始元素还是空元素,以及元素的 LocalName 和 NamespaceURI 属性是否与给定的参数匹配。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
元素的本地名称。The local name of the element.
- namespaceUri
- String
元素的命名空间 URI。The namespace URI of the element.
适用于
MoveToStartElement(String)
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)
参数
适用于
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 ()