IElement.SetIdAttributeNS(String, String, Boolean) IElement.SetIdAttributeNS(String, String, Boolean) Method

Definition

If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute .

[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", ApiSince=8)]
public void SetIdAttributeNS (string namespaceURI, string localName, bool isId);
abstract member SetIdAttributeNS : string * string * bool -> unit

Parameters

namespaceURI
String String

The namespace URI of the attribute.

localName
String String

The local name of the attribute.

isId
Boolean Boolean

Whether the attribute is a of type ID.

Exceptions

NO_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

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to