Dela via


AttributesImpl.SetURI(Int32, String) Method

Definition

Set the Namespace URI of a specific attribute.

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

Parameters

index
Int32

The index of the attribute (zero-based).

uri
String

The attribute's Namespace URI, or the empty string for none.

Attributes

Exceptions

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

Remarks

Set the Namespace URI of a specific attribute.

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