次の方法で共有


AttributesImpl.GetValue Method

Definition

Overloads

GetValue(String, String)

Look up an attribute's value by Namespace-qualified name.

GetValue(Int32)

Return an attribute's value by index.

GetValue(String)

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

GetValue(String, String)

Look up an attribute's value by Namespace-qualified 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 for a name with no explicit Namespace URI.

localName
String

The local name.

Returns

The attribute's value, or null if there is no matching attribute.

Implements

Attributes

Remarks

Look up an attribute's value by Namespace-qualified name.

Java documentation for org.xml.sax.helpers.AttributesImpl.getValue(java.lang.String, 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

  • <xref:Org.Xml.Sax.IAttributes.GetValue(System.String%2c+System.String)>

Applies to

GetValue(Int32)

Return 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's index (zero-based).

Returns

The attribute's value or null if the index is out of bounds.

Implements

Attributes

Remarks

Return an attribute's value by index.

Java documentation for org.xml.sax.helpers.AttributesImpl.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)

Look up an attribute's value by 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 qualified name.

Returns

The attribute's value, or null if there is no matching attribute.

Implements

Attributes

Remarks

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

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