Gets a date 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 DateTime GetDateTime( int i ) |
Visual Basic |
---|
Public Overridable Function GetDateTime ( i As Integer ) As DateTime |
Parameters
- i
- Type: System..::..Int32
Ordinal column position of the value.
Return Value
Type: DateTimeImplements
IDataRecord..::..GetDateTime(Int32)Remarks
Returns DateTime.MinValue for null.