GrapeCity.Xaml.SpreadSheet.Data
FromDateTime Method (DateCondition)


GrapeCity.Xaml.SpreadSheet.Data Namespace > DateCondition Class : FromDateTime Method
The compare type.
The expected dateTime object.
Creates a DateCondition object from the dateTime object.
Syntax
'Declaration
 
Public Shared Function FromDateTime( _
   ByVal compareType As DateCompareType, _
   ByVal expected As Date _
) As DateCondition
'Usage
 
Dim compareType As DateCompareType
Dim expected As Date
Dim value As DateCondition
 
value = DateCondition.FromDateTime(compareType, expected)
public static DateCondition FromDateTime( 
   DateCompareType compareType,
   DateTime expected
)

Parameters

compareType
The compare type.
expected
The expected dateTime object.

Return Value

The DateCondition object.
See Also

Reference

DateCondition Class
DateCondition Members