Edit

Kongsi melalui


XmlQueryRuntime.ParseTagName Method

Definition

Parses the specified tag name.

Overloads

ParseTagName(String, Int32)

Parses the specified tag name and resolves the resulting prefix. If the prefix cannot be resolved, an error is thrown.

ParseTagName(String, String)

Parses the specified tag name. Returns an XmlQualifiedName that consists of the parsed local name and the specified namespace.

ParseTagName(String, Int32)

Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs

Parses the specified tag name and resolves the resulting prefix. If the prefix cannot be resolved, an error is thrown.

public:
 System::Xml::XmlQualifiedName ^ ParseTagName(System::String ^ tagName, int indexPrefixMappings);
public System.Xml.XmlQualifiedName ParseTagName (string tagName, int indexPrefixMappings);
member this.ParseTagName : string * int -> System.Xml.XmlQualifiedName
Public Function ParseTagName (tagName As String, indexPrefixMappings As Integer) As XmlQualifiedName

Parameters

tagName
String

The tag name.

indexPrefixMappings
Int32

The index.

Returns

An instance of the XmlQualifiedName class.

Applies to

ParseTagName(String, String)

Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs

Parses the specified tag name. Returns an XmlQualifiedName that consists of the parsed local name and the specified namespace.

public:
 System::Xml::XmlQualifiedName ^ ParseTagName(System::String ^ tagName, System::String ^ ns);
public System.Xml.XmlQualifiedName ParseTagName (string tagName, string ns);
member this.ParseTagName : string * string -> System.Xml.XmlQualifiedName
Public Function ParseTagName (tagName As String, ns As String) As XmlQualifiedName

Parameters

tagName
String

The tag name.

ns
String

The namespace.

Returns

An instance of the XmlQualifiedName class.

Applies to