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( string name ) |
Visual Basic |
---|
Public Overridable Function GetDateTime ( name As String ) As DateTime |
Parameters
- name
- Type: System..::..String
Name of the column containing the value.
Return Value
Type: DateTimeRemarks
Returns DateTime.MinValue for null.