BasicClientCookie.SetAttribute(String, String) Method

Definition

Adds or replaces a named cookie attribute value.

[Android.Runtime.Register("setAttribute", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSetAttribute_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual void SetAttribute(string? name, string? value);
[<Android.Runtime.Register("setAttribute", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSetAttribute_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member SetAttribute : string * string -> unit
override this.SetAttribute : string * string -> unit

Parameters

name
String

The name of the cookie attribute to add or replace.

value
String

The value to associate with the named cookie attribute.

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