Język

IClientCookie.GetAttribute(String) Method

Definition

Gets the original value of a cookie attribute supplied by the server.

[Android.Runtime.Register("getAttribute", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetAttribute_Ljava_lang_String_Handler:Org.Apache.Http.Cookies.IClientCookieInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? GetAttribute(string? name);
[<Android.Runtime.Register("getAttribute", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetAttribute_Ljava_lang_String_Handler:Org.Apache.Http.Cookies.IClientCookieInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetAttribute : string -> string

Parameters

name
String

The original attribute name, such as PathAttr.

Returns

The stored attribute value, or null if the attribute is absent or has no value.

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