Version

GetSmartDate(Int32,Boolean) Method

Gets a SmartDate value from a specified field.
Syntax
'Declaration
 
Public Overloads Function GetSmartDate( _
   ByVal i As Integer, _
   ByVal minIsEmpty As Boolean _
) As SmartDate
public SmartDate GetSmartDate( 
   int i,
   bool minIsEmpty
)

Parameters

i
Zero-based index of the field.
minIsEmpty
Not used.

Return Value

The underlying SmartDate value from the encapsulated IDataReader, or the SmartDate value 1/1/1 if the IDataReader signals the return of a DBNull value.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also