Advanced.Data.Provider Documentation

AdpDataReader.GetChars Method 

[This is preliminary documentation and subject to change.]

Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset.

[Visual Basic]
NotOverridable Public Function GetChars( _
   ByVal i As Integer, _
   ByVal fieldoffset As Long, _
   ByVal buffer As Char(), _
   ByVal bufferoffset As Integer, _
   ByVal length As Integer _
) As Long Implements _
   IDataRecord.GetChars
[C#]
public long GetChars(
   int i,
   long fieldoffset,
   char[] buffer,
   int bufferoffset,
   int length
);

Parameters

i
The zero-based column ordinal.
fieldoffset
The index within the row from which to begin the read operation.
buffer
The buffer into which to read the stream of bytes.
bufferoffset
The index for buffer to begin the read operation.
length
The number of bytes to read.

Return Value

The actual number of characters read.

Implements

IDataRecord.GetChars

See Also

AdpDataReader Class | Advanced.Data.Provider Namespace