Org.W3c.Dom.IElement.HasAttributeNS Method
Returns true when an attribute with a given local name and namespace URI is specified on this element or has a default value, false otherwise.

Syntax

[Android.Runtime.Register("hasAttributeNS", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetHasAttributeNS_Ljava_lang_String_Ljava_lang_String_Handler:Org.W3c.Dom.IElementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool HasAttributeNS (string namespaceURI, string localName)

Parameters

namespaceURI
The namespace URI of the attribute to look for.
localName
The local name of the attribute to look for.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Org.W3c.Dom.DOMExceptionNOT_SUPPORTED_ERR: May be raised if the implementation does not support the feature "XML" and the language exposed through the Document does not support XML Namespaces (such as []).

Remarks

Returns true when an attribute with a given local name and namespace URI is specified on this element or has a default value, false otherwise.

Per [] , applications must use the value null as the namespaceURI parameter for methods if they wish to have no namespace.

[Android Documentation]

Requirements

Namespace: Org.W3c.Dom
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1