Driver.GetType 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
GetType(Int32) |
Look up an attribute's type by index. |
GetType(String) |
Look up an attribute's type by XML qualified (prefixed) name. |
GetType(String, String) |
Look up an attribute's type by Namespace name. |
GetType(Int32)
Look up an attribute's type by index.
[Android.Runtime.Register("getType", "(I)Ljava/lang/String;", "GetGetType_IHandler")]
public virtual string? GetType (int index);
[<Android.Runtime.Register("getType", "(I)Ljava/lang/String;", "GetGetType_IHandler")>]
override this.GetType : int -> string
Parameters
- index
- Int32
The attribute index (zero-based).
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
GetType(String)
Look up an attribute's type by XML qualified (prefixed) name.
[Android.Runtime.Register("getType", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetType_Ljava_lang_String_Handler")]
public virtual string? GetType (string? qName);
[<Android.Runtime.Register("getType", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetType_Ljava_lang_String_Handler")>]
override this.GetType : string -> string
Parameters
- qName
- String
The XML qualified 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
GetType(String, String)
Look up an attribute's type by Namespace name.
[Android.Runtime.Register("getType", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "GetGetType_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual string? GetType (string? uri, string? localName);
[<Android.Runtime.Register("getType", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "GetGetType_Ljava_lang_String_Ljava_lang_String_Handler")>]
override this.GetType : string * string -> string
Parameters
- uri
- String
The Namespace URI, or the empty String if the name has no Namespace URI.
- localName
- String
The local name of the attribute.
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.