ConverterStream constructor (Stream, TextConverter, ConverterStreamAccess)
The ConverterStream constructor creates a new ConverterStream object that uses converter to either read from or write into stream, based on the value supplied by access.
Namespace: Microsoft.Exchange.Data.TextConverters
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Sub New ( _
stream As Stream, _
converter As TextConverter, _
access As ConverterStreamAccess _
)
'Usage
Dim stream As Stream
Dim converter As TextConverter
Dim access As ConverterStreamAccess
Dim instance As New ConverterStream(stream, _
converter, access)
public ConverterStream(
Stream stream,
TextConverter converter,
ConverterStreamAccess access
)
Parameters
stream
Type: System.IO.StreamThe Stream object to read from or write into.
converter
Type: Microsoft.Exchange.Data.TextConverters.TextConverterThe TextConverter object to use when reading to or writing from stream.
access
Type: Microsoft.Exchange.Data.TextConverters.ConverterStreamAccessThe ConverterStreamAccess enumeration that specifies whether to read from or write to stream.