XmlQueryRuntime.ParseTagName 方法

定义

分析指定的标记名称。

重载

名称 说明
ParseTagName(String, Int32)

分析指定的标记名称并解析生成的前缀。 如果无法解析前缀,则会引发错误。

ParseTagName(String, String)

分析指定的标记名称。 返回一个包含已分析的本地名称和指定命名空间的一个 XmlQualifiedName

ParseTagName(String, Int32)

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

分析指定的标记名称并解析生成的前缀。 如果无法解析前缀,则会引发错误。

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

参数

tagName
String

标记名称。

indexPrefixMappings
Int32

索引。

返回

XmlQualifiedName 类的实例。

适用于

ParseTagName(String, String)

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

分析指定的标记名称。 返回一个包含已分析的本地名称和指定命名空间的一个 XmlQualifiedName

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

参数

tagName
String

标记名称。

ns
String

命名空间。

返回

XmlQualifiedName 类的实例。

适用于