Udostępnij za pośrednictwem


AttributeListImpl.GetValue Method

Definition

Overloads

GetValue(Int32)
Obsolete.

Get the value of an attribute (by position).

GetValue(String)
Obsolete.

Get the value of an attribute (by name).

GetValue(Int32)

Caution

deprecated

Get the value of an attribute (by position).

[Android.Runtime.Register("getValue", "(I)Ljava/lang/String;", "GetGetValue_IHandler")]
[System.Obsolete("deprecated")]
public virtual string? GetValue (int i);
[<Android.Runtime.Register("getValue", "(I)Ljava/lang/String;", "GetGetValue_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member GetValue : int -> string
override this.GetValue : int -> string

Parameters

i
Int32

The position of the attribute in the list.

Returns

The attribute value as a string, or null if there is no attribute at that position.

Implements

Attributes

Remarks

Get the value of an attribute (by position).

Java documentation for org.xml.sax.helpers.AttributeListImpl.getValue(int).

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.

See also

Applies to

GetValue(String)

Caution

deprecated

Get the value of an attribute (by name).

[Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual string? GetValue (string? name);
[<Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member GetValue : string -> string
override this.GetValue : string -> string

Parameters

name
String

The attribute name.

Returns

the named attribute's value or null, if the attribute does not exist.

Implements

Attributes

Remarks

Get the value of an attribute (by name).

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

See also

Applies to