Org.W3c.Dom.IElement.SetIdAttributeNS Method
If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute .

Syntax

[Android.Runtime.Register("setIdAttributeNS", "(Ljava/lang/String;Ljava/lang/String;Z)V", "GetSetIdAttributeNS_Ljava_lang_String_Ljava_lang_String_ZHandler:Org.W3c.Dom.IElementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetIdAttributeNS (string p0, string p1, bool p2)

Parameters

namespaceURI
The namespace URI of the attribute.
localName
The local name of the attribute.
isId
Whether the attribute is a of type ID.

Exceptions

TypeReason
Org.W3c.Dom.DOMExceptionNO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.

NOT_FOUND_ERR: Raised if the specified node is not an attribute of this element.

Remarks

If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute . This affects the value of Attr.isId and the behavior of Document.getElementById, but does not change any schema that may be in use, in particular this does not affect the Attr.schemaTypeInfo of the specified Attr node. Use the value false for the parameter isId to undeclare an attribute for being a user-determined ID attribute.

[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 8