Dela via


TextConverter.OutputStreamBufferSize Property

The OutputStreamBufferSize method gets or sets the internal output buffer size, in bytes, for stream output.

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

Syntax

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

/** @property */
public void set_OutputStreamBufferSize (int value)
public function get OutputStreamBufferSize () : int

public function set OutputStreamBufferSize (value : int)

Remarks

The Convert overloads, and therefore the various converters (such as RtfToHtml) will write their output in chunks that are at most as long as the OutputStreamBufferSize property.

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

The default size of the OutputStreamBufferSize 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