Читати англійською Редагувати

Поділитися через


XmlDictionaryReader.MoveToStartElement Method

Definition

Tests whether the current content node is a start element or an empty element.

Overloads

MoveToStartElement(XmlDictionaryString, XmlDictionaryString)

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)

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)

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)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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.

C#
public virtual void MoveToStartElement(System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri);

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

MoveToStartElement(String, String)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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.

C#
public virtual void MoveToStartElement(string localName, string namespaceUri);

Parameters

localName
String

The local name of the element.

namespaceUri
String

The namespace URI of the element.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

MoveToStartElement(String)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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.

C#
public virtual void MoveToStartElement(string name);

Parameters

name
String

The Name property of the element.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

MoveToStartElement()

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

Tests whether the current content node is a start element or an empty element.

C#
public virtual void MoveToStartElement();

Applies to

.NET 10 та інші версії
Продукт Версії
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0