Udostępnij za pośrednictwem


StringEntity Constructors

Definition

Overloads

StringEntity(String)
StringEntity(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

StringEntity(String, String)

StringEntity(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public StringEntity (string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Entity.StringEntity : string -> Org.Apache.Http.Entity.StringEntity

Parameters

s
String
Attributes

Exceptions

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

StringEntity(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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

StringEntity(String, String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public StringEntity (string? s, string? charset);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Entity.StringEntity : string * string -> Org.Apache.Http.Entity.StringEntity

Parameters

s
String
charset
String
Attributes

Exceptions

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