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
'Usage
Dim instance As ConverterReader
Dim buffer As Char()
Dim index As Integer
Dim count As Integer
Dim returnValue As Integer
returnValue = instance.Read(buffer, index, _
count)
public override int Read(
char[] buffer,
int index,
int count
)
Parameters
buffer
Type: []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
Type: System.Int32The place in buffer at which to begin writing.
count
Type: System.Int32The 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
Type: System.Int32
The Read method returns the number of characters read.