Attributes.GetValue Method

Definition

Overloads

GetValue(String)

Returns the value of the specified attribute name, specified as a string, or null if the attribute was not found.

GetValue(Attributes+Name)

Returns the value of the specified attribute name, specified as a string, or null if the attribute was not found.

GetValue(String)

Returns the value of the specified attribute name, specified as a string, or null if the attribute was not found.

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

name
String

the attribute name as a string

Returns

the String value of the specified attribute name, or null if not found.

Attributes

Remarks

Returns the value of the specified attribute name, specified as a string, or null if the attribute was not found. The attribute name is case-insensitive.

This method is defined as:

return (String)get(new Attributes.Name((String)name));

Java documentation for java.util.jar.Attributes.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.

Applies to

GetValue(Attributes+Name)

Returns the value of the specified attribute name, specified as a string, or null if the attribute was not found.

[Android.Runtime.Register("getValue", "(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;", "GetGetValue_Ljava_util_jar_Attributes_Name_Handler")]
public virtual string? GetValue (Java.Util.Jar.Attributes.Name? name);
[<Android.Runtime.Register("getValue", "(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;", "GetGetValue_Ljava_util_jar_Attributes_Name_Handler")>]
abstract member GetValue : Java.Util.Jar.Attributes.Name -> string
override this.GetValue : Java.Util.Jar.Attributes.Name -> string

Parameters

name
Attributes.Name

the attribute name as a string

Returns

the String value of the specified attribute name, or null if not found.

Attributes

Remarks

Java documentation for java.util.jar.Attributes.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.

Applies to