Language

BasicNameValuePair Constructors

Definition

Overloads

Name Description
BasicNameValuePair(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

BasicNameValuePair(String, String)

Initializes a name-value pair. The value can be null.

BasicNameValuePair(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected BasicNameValuePair(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Message.BasicNameValuePair : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Message.BasicNameValuePair

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies how the runtime handles the JNI reference, including its release and peer registration.

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

BasicNameValuePair(String, String)

Initializes a name-value pair. The value can be null.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public BasicNameValuePair(string? name, string? value);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Message.BasicNameValuePair : string * string -> Org.Apache.Http.Message.BasicNameValuePair

Parameters

name
String

The name.

value
String

The 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