XmlDictionaryReader.IsNamespaceUri Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks whether the parameter, namespaceUri
, is the namespace of the current node.
Overloads
IsNamespaceUri(String) |
Checks whether the parameter, |
IsNamespaceUri(XmlDictionaryString) |
Checks whether the parameter, |
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈