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 long GetBytes( string name, long fieldOffset, byte[] buffer, int bufferOffset, int length ) |
Visual Basic |
---|
Public Function GetBytes ( name As String, fieldOffset As Long, buffer As Byte(), bufferOffset As Integer, length As Integer ) As Long |
Parameters
- name
- Type: System..::..String
Name of the column containing 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: Int64Remarks
Returns 0 for null.