次の方法で共有


Driver.GetIndex Method

Definition

Overloads

GetIndex(String)

Look up the index of an attribute by XML qualified (prefixed) name.

GetIndex(String, String)

Look up the index of an attribute by Namespace name.

GetIndex(String)

Look up the index of an attribute by XML qualified (prefixed) name.

[Android.Runtime.Register("getIndex", "(Ljava/lang/String;)I", "GetGetIndex_Ljava_lang_String_Handler")]
public virtual int GetIndex (string? qName);
[<Android.Runtime.Register("getIndex", "(Ljava/lang/String;)I", "GetGetIndex_Ljava_lang_String_Handler")>]
abstract member GetIndex : string -> int
override this.GetIndex : string -> int

Parameters

qName
String

The qualified (prefixed) name.

Returns

Implements

Attributes

Remarks

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

GetIndex(String, String)

Look up the index of an attribute by Namespace name.

[Android.Runtime.Register("getIndex", "(Ljava/lang/String;Ljava/lang/String;)I", "GetGetIndex_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual int GetIndex (string? uri, string? localName);
[<Android.Runtime.Register("getIndex", "(Ljava/lang/String;Ljava/lang/String;)I", "GetGetIndex_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member GetIndex : string * string -> int
override this.GetIndex : string * string -> int

Parameters

uri
String

The Namespace URI, or the empty string if the name has no Namespace URI.

localName
String

The attribute's local name.

Returns

Implements

Attributes

Remarks

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