DataConnector
C1.DataConnector Assembly / C1.DataConnector Namespace / C1DataReaderBase Class / GetChars Method
The zero-based column ordinal.
The index within the field from which to begin the read operation.
The buffer into which to read the stream of bytes.
The index within the buffer where the write operation is to start.
The maximum length to copy into the buffer.

In This Topic
    GetChars Method
    In This Topic
    Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset.
    Syntax
    'Declaration
     
    Public Overrides Function GetChars( _
       ByVal ordinal As System.Integer, _
       ByVal dataOffset As System.Long, _
       ByVal buffer() As System.Char, _
       ByVal bufferOffset As System.Integer, _
       ByVal length As System.Integer _
    ) As System.Long
    public override System.long GetChars( 
       System.int ordinal,
       System.long dataOffset,
       System.char[] buffer,
       System.int bufferOffset,
       System.int length
    )

    Parameters

    ordinal
    The zero-based column ordinal.
    dataOffset
    The index within the field from which to begin the read operation.
    buffer
    The buffer into which to read the stream of bytes.
    bufferOffset
    The index within the buffer where the write operation is to start.
    length
    The maximum length to copy into the buffer.
    See Also