다음을 통해 공유


TextConverter.InputStreamBufferSize Property

The InputStreamBufferSize property gets or sets the internal input buffer size, in bytes, for stream input.

Namespace: Microsoft.Exchange.Data.TextConverters
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Property InputStreamBufferSize As Integer
public int InputStreamBufferSize { get; set; }
public:
property int InputStreamBufferSize {
    int get ();
    void set (int value);
}
/** @property */
public int get_InputStreamBufferSize ()

/** @property */
public void set_InputStreamBufferSize (int value)
public function get InputStreamBufferSize () : int

public function set InputStreamBufferSize (value : int)

Property Value

The actual read buffer size in bytes.

Remarks

The Convert overloads, and therefore the various converters (such as RtfToHtml) will read from their input streams in chunks that are at most as long as the InputStreamBufferSize property.

The InputStreamBufferSize property can only be set before the converter instance is used for actual conversion.

The default size of the InputStreamBufferSize property is 4096 bytes.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003