Jazyk

IHttpContext.GetAttribute(String) Method

Definition

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

Parameters

id
String

The name of the context attribute to retrieve.

Returns

The attribute value, or null if no value is available.

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