Invokes the GetChars 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 GetChars( string name, long fieldOffset, char[] buffer, int bufferOffset, int length ) |
Visual Basic |
---|
Public Function GetChars ( name As String, fieldOffset As Long, buffer As Char(), 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..::..Char>[]()[][]
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.