Driver.GetIndex Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.