Share via


ResultTable.GetBytes method

NOTE: This API is now obsolete.

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

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Function GetBytes ( _
    i As Integer, _
    fieldOffset As Long, _
    buffer As Byte(), _
    bufferoffset As Integer, _
    length As Integer _
) As Long
'Usage
Dim instance As ResultTable
Dim i As Integer
Dim fieldOffset As Long
Dim buffer As Byte()
Dim bufferoffset As Integer
Dim length As Integer
Dim returnValue As Long

returnValue = instance.GetBytes(i, fieldOffset, _
    buffer, bufferoffset, length)
[ObsoleteAttribute("This class is obsolete.")]
public long GetBytes(
    int i,
    long fieldOffset,
    byte[] buffer,
    int bufferoffset,
    int length
)

Parameters

  • fieldOffset
    Type: System.Int64

    The index within the field 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

Implements

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

See also

Reference

ResultTable class

ResultTable members

Microsoft.SharePoint.Search.Query namespace