DataConnector | ComponentOne
C1.AdoNet.ServiceNow Assembly / C1.AdoNet.ServiceNow Namespace / C1ServiceNowDataReader 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 (C1ServiceNowDataReader)
    In This Topic
    Writes in the passed buffer a number of characters read from within a column.
    Syntax
    'Declaration
     
    Public Overridable Function GetChars( _
       ByVal ordinal As Integer, _
       ByVal dataOffset As Long, _
       ByVal buffer() As Char, _
       ByVal bufferOffset As Integer, _
       ByVal length As Integer _
    ) As Long
    public virtual long GetChars( 
       int ordinal,
       long dataOffset,
       char[] buffer,
       int bufferOffset,
       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