Org.Xml.Sax.Helpers.AttributesImpl.SetAttribute Method
Set an attribute in the list.

Syntax

[Android.Runtime.Register("setAttribute", "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetSetAttribute_ILjava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual void SetAttribute (int index, string uri, string localName, string qName, string type, string value)

Parameters

index
The index of the attribute (zero-based).
uri
The Namespace URI, or the empty string if none is available or Namespace processing is not being performed.
localName
The local name, or the empty string if Namespace processing is not being performed.
qName
The qualified name, or the empty string if qualified names are not available.
type
The attribute type as a string.
value
The attribute value.

Exceptions

TypeReason
Java.Lang.ArrayIndexOutOfBoundsExceptionWhen the supplied index does not point to an attribute in the list.

Remarks

Set an attribute in the list.

For the sake of speed, this method does no checking for name conflicts or well-formedness: such checks are the responsibility of the application.

[Android Documentation]

Requirements

Namespace: Org.Xml.Sax.Helpers
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1