Share via


ResultTable.GetChars method

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

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function GetChars ( _
    i As Integer, _
    fieldoffset As Long, _
    buffer As Char(), _
    bufferoffset As Integer, _
    length As Integer _
) As Long
'Usage
Dim instance As ResultTable
Dim i As Integer
Dim fieldoffset As Long
Dim buffer As Char()
Dim bufferoffset As Integer
Dim length As Integer
Dim returnValue As Long

returnValue = instance.GetChars(i, fieldoffset, _
    buffer, bufferoffset, length)
public long GetChars(
    int i,
    long fieldoffset,
    char[] buffer,
    int bufferoffset,
    int length
)

Parameters

  • fieldoffset
    Type: System.Int64

    The index within the row from which to start the read operation.

  • buffer
    Type: []

    The buffer into which to read the stream of bytes.

  • bufferoffset
    Type: System.Int32

    The index for buffer to start the read operation.

Return value

Type: System.Int64
The actual number of characters read.

Implements

IDataRecord.GetChars(Int32, Int64, [], Int32, Int32)

See also

Reference

ResultTable class

ResultTable members

Microsoft.Office.Server.Search.Query namespace