BasicClientCookie.ContainsAttribute(String) Method

Definition

Determines whether the specified attribute maps to a non-null value.

[Android.Runtime.Register("containsAttribute", "(Ljava/lang/String;)Z", "GetContainsAttribute_Ljava_lang_String_Handler")]
public virtual bool ContainsAttribute(string? name);
[<Android.Runtime.Register("containsAttribute", "(Ljava/lang/String;)Z", "GetContainsAttribute_Ljava_lang_String_Handler")>]
abstract member ContainsAttribute : string -> bool
override this.ContainsAttribute : string -> bool

Parameters

name
String

The name of the cookie attribute to look up.

Returns

true when the mapped value is non-null; otherwise, false.

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