Condividi tramite


StringWriter Constructors

Definition

Overloads

StringWriter()

Create a new string writer using the default initial string-buffer size.

StringWriter(Int32)

Create a new string writer using the specified initial string-buffer size.

StringWriter(IntPtr, JniHandleOwnership)

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

StringWriter()

Create a new string writer using the default initial string-buffer size.

[Android.Runtime.Register(".ctor", "()V", "")]
public StringWriter ();
Attributes

Remarks

Create a new string writer using the default initial string-buffer size.

Java documentation for java.io.StringWriter.StringWriter().

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

StringWriter(Int32)

Create a new string writer using the specified initial string-buffer size.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public StringWriter (int initialSize);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Java.IO.StringWriter : int -> Java.IO.StringWriter

Parameters

initialSize
Int32

The number of char values that will fit into this buffer before it is automatically expanded

Attributes

Remarks

Create a new string writer using the specified initial string-buffer size.

Java documentation for java.io.StringWriter.StringWriter(int).

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

StringWriter(IntPtr, JniHandleOwnership)

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

protected StringWriter (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.IO.StringWriter : nativeint * Android.Runtime.JniHandleOwnership -> Java.IO.StringWriter

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