AttributesImpl.SetType(Int32, String) Method

Definition

Set the type of a specific attribute.

[Android.Runtime.Register("setType", "(ILjava/lang/String;)V", "GetSetType_ILjava_lang_String_Handler")]
public virtual void SetType (int index, string? type);
[<Android.Runtime.Register("setType", "(ILjava/lang/String;)V", "GetSetType_ILjava_lang_String_Handler")>]
abstract member SetType : int * string -> unit
override this.SetType : int * string -> unit

Parameters

index
Int32

The index of the attribute (zero-based).

type
String

The attribute's type.

Attributes

Exceptions

When the supplied index does not point to an attribute in the list.

Remarks

Set the type of a specific attribute.

Java documentation for org.xml.sax.helpers.AttributesImpl.setType(int, java.lang.String).

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