編輯

共用方式為


XmlDictionaryReader.IsNamespaceUri Method

Definition

Checks whether the parameter, namespaceUri, is the namespace of the current node.

Overloads

IsNamespaceUri(String)

Checks whether the parameter, namespaceUri, is the namespace of the current node.

IsNamespaceUri(XmlDictionaryString)

Checks whether the parameter, namespaceUri, is the namespace of the current node.

IsNamespaceUri(String)

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

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

Parameters

namespaceUri
String

The namespace of current node.

Returns

true if namespaceUri matches namespace of the current node; otherwise false.

Exceptions

namespaceUri is null.

Applies to

IsNamespaceUri(XmlDictionaryString)

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

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

Parameters

namespaceUri
XmlDictionaryString

Namespace of current node.

Returns

true if namespaceUri matches namespace of the current node; otherwise false.

Exceptions

namespaceUri is null.

Applies to