Gets a date value from the datareader.

Namespace: CodeSmith.Engine
Assembly: 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: DateTime

Remarks

Returns DateTime.MinValue for null.

See Also