次の方法で共有


AttributesImpl.SetQName(Int32, String) Method

Definition

Set the qualified name of a specific attribute.

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

Parameters

index
Int32

The index of the attribute (zero-based).

qName
String

The attribute's qualified name, or the empty string for none.

Attributes

Exceptions

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

Remarks

Set the qualified name of a specific attribute.

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