Share 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
    Get
    Set
'Usage
Dim instance As TextConverter
Dim value As Integer

value = instance.OutputStreamBufferSize

instance.OutputStreamBufferSize = value
public int OutputStreamBufferSize { get; set; }

Property value

Type: System.Int32

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.

See also

Reference

TextConverter class

TextConverter members

Microsoft.Exchange.Data.TextConverters namespace