BasicClientCookie.GetAttribute(String) Method

Definition

Gets the value associated with a named cookie attribute.

[Android.Runtime.Register("getAttribute", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetAttribute_Ljava_lang_String_Handler")]
public virtual string? GetAttribute(string? name);
[<Android.Runtime.Register("getAttribute", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetAttribute_Ljava_lang_String_Handler")>]
abstract member GetAttribute : string -> string
override this.GetAttribute : string -> string

Parameters

name
String

The name of the cookie attribute to retrieve.

Returns

The attribute value, or null when the attribute is absent.

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