XmlDictionaryReader.IsNamespaceUri XmlDictionaryReader.IsNamespaceUri XmlDictionaryReader.IsNamespaceUri XmlDictionaryReader.IsNamespaceUri Method

定义

检查参数 namespaceUri 是否为当前节点的命名空间。Checks whether the parameter, namespaceUri, is the namespace of the current node.

重载

IsNamespaceUri(String) IsNamespaceUri(String) IsNamespaceUri(String) IsNamespaceUri(String)

检查参数 namespaceUri 是否为当前节点的命名空间。Checks whether the parameter, namespaceUri, is the namespace of the current node.

IsNamespaceUri(XmlDictionaryString) IsNamespaceUri(XmlDictionaryString) IsNamespaceUri(XmlDictionaryString) IsNamespaceUri(XmlDictionaryString)

检查参数 namespaceUri 是否为当前节点的命名空间。Checks whether the parameter, namespaceUri, is the namespace of the current node.

IsNamespaceUri(String) IsNamespaceUri(String) IsNamespaceUri(String) IsNamespaceUri(String)

检查参数 namespaceUri 是否为当前节点的命名空间。Checks whether the parameter, namespaceUri, is the namespace of the current node.

public:
 virtual bool IsNamespaceUri(System::String ^ namespaceUri);
public virtual bool IsNamespaceUri (string namespaceUri);
abstract member IsNamespaceUri : string -> bool
override this.IsNamespaceUri : string -> bool
Public Overridable Function IsNamespaceUri (namespaceUri As String) As Boolean

参数

namespaceUri
String String String String

当前节点的命名空间。The namespace of current node.

返回

如果 namespaceUri 与当前节点的命名空间相匹配,则为 true;否则为 falsetrue if namespaceUri matches namespace of the current node; otherwise false.

异常

IsNamespaceUri(XmlDictionaryString) IsNamespaceUri(XmlDictionaryString) IsNamespaceUri(XmlDictionaryString) IsNamespaceUri(XmlDictionaryString)

检查参数 namespaceUri 是否为当前节点的命名空间。Checks whether the parameter, namespaceUri, is the namespace of the current node.

public:
 virtual bool IsNamespaceUri(System::Xml::XmlDictionaryString ^ namespaceUri);
public virtual bool IsNamespaceUri (System.Xml.XmlDictionaryString namespaceUri);
abstract member IsNamespaceUri : System.Xml.XmlDictionaryString -> bool
override this.IsNamespaceUri : System.Xml.XmlDictionaryString -> bool
Public Overridable Function IsNamespaceUri (namespaceUri As XmlDictionaryString) As Boolean

参数

namespaceUri
XmlDictionaryString XmlDictionaryString XmlDictionaryString XmlDictionaryString

当前节点的命名空间。Namespace of current node.

返回

如果 namespaceUri 与当前节点的命名空间相匹配,则为 true;否则为 falsetrue if namespaceUri matches namespace of the current node; otherwise false.

异常

适用于