Gets a byte value from the datareader.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public virtual byte GetByte( int i ) |
Visual Basic |
---|
Public Overridable Function GetByte ( i As Integer ) As Byte |
Parameters
- i
- Type: System..::..Int32
Ordinal column position of the value.
Return Value
Type: ByteImplements
IDataRecord..::..GetByte(Int32)Remarks
Returns 0 for null.