'Declaration
Public Function GetValueAsDateTime() As Nullable(Of Date)
public Nullable<DateTime> GetValueAsDateTime()
public: Nullable<DateTime> GetValueAsDateTime();
Return Value
The date/time value of the option, or a null reference (Nothing in Visual Basic) if no value is set or if the value is not a date/time.