Sdílet prostřednictvím


Driver.GetValue Method

Definition

Overloads

GetValue(String, String)

Look up an attribute's value by Namespace name.

GetValue(String)

Look up an attribute's value by XML qualified (prefixed) name.

GetValue(Int32)

Look up an attribute's value by index.

GetValue(String, String)

Look up an attribute's value by Namespace name.

[Android.Runtime.Register("getValue", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual string? GetValue (string? uri, string? localName);
[<Android.Runtime.Register("getValue", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member GetValue : string * string -> string
override this.GetValue : 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.

Applies to

GetValue(String)

Look up an attribute's value by XML qualified (prefixed) name.

[Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Handler")]
public virtual string? GetValue (string? qName);
[<Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Handler")>]
abstract member GetValue : string -> string
override this.GetValue : 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

GetValue(Int32)

Look up an attribute's value by index.

[Android.Runtime.Register("getValue", "(I)Ljava/lang/String;", "GetGetValue_IHandler")]
public virtual string? GetValue (int index);
[<Android.Runtime.Register("getValue", "(I)Ljava/lang/String;", "GetGetValue_IHandler")>]
abstract member GetValue : int -> string
override this.GetValue : 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