Udostępnij za pośrednictwem


AttributesImpl.SetValue(Int32, String) Method

Definition

Set the value of a specific attribute.

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

Parameters

index
Int32

The index of the attribute (zero-based).

value
String

The attribute's value.

Attributes

Exceptions

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

Remarks

Set the value of a specific attribute.

Java documentation for org.xml.sax.helpers.AttributesImpl.setValue(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