Invokes the GetBytes method of the underlying datareader.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public virtual long GetBytes( int i, long fieldOffset, byte[] buffer, int bufferOffset, int length ) |
Visual Basic |
---|
Public Overridable Function GetBytes ( i As Integer, fieldOffset As Long, buffer As Byte(), bufferOffset As Integer, length As Integer ) As Long |
Parameters
- i
- Type: System..::..Int32
Ordinal column position of the value.
- fieldOffset
- Type: System..::..Int64
Offset position within the field.
- buffer
- Type: array<System..::..Byte>[]()[][]
Array containing the data.
- bufferOffset
- Type: System..::..Int32
Offset position within the buffer.
- length
- Type: System..::..Int32
Length of data to read.
Return Value
Type: Int64Implements
IDataRecord..::..GetBytes(Int32, Int64, array<Byte>[]()[][], Int32, Int32)Remarks
Returns 0 for null.