ConverterReader.Read Method (Char[], Int32, Int32)
The Read method reads count bytes from the input stream, starting at offset, and stores them in buffer.
Namespace: Microsoft.Exchange.Data.TextConverters
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)
Syntax
'Declaration
Public Overrides Function Read ( _
buffer As Char(), _
index As Integer, _
count As Integer _
) As Integer
public override int Read (
char[] buffer,
int index,
int count
)
public:
virtual int Read (
array<wchar_t>^ buffer,
int index,
int count
) override
public int Read (
char[] buffer,
int index,
int count
)
public override function Read (
buffer : char[],
index : int,
count : int
) : int
Parameters
- buffer
When this method returns, it contains the specified character array with the values between index and (index + count - 1) replaced by the characters read from the current source.
- index
The place in buffer at which to begin writing.
- count
The maximum number of characters to read. If the end of the stream is reached before count of characters is read into buffer, the current method returns.
Return Value
The Read method returns the number of characters read.
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