Spread WPF Documentation
FromDateTime Method (DateCondition)


GrapeCity.Windows.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 System.Date _
) As DateCondition
'Usage
 
Dim compareType As DateCompareType
Dim expected As System.Date
Dim value As DateCondition
 
value = DateCondition.FromDateTime(compareType, expected)
public static DateCondition FromDateTime( 
   DateCompareType compareType,
   System.DateTime expected
)

Parameters

compareType
The compare type.
expected
The expected dateTime object.

Return Value

The DateCondition object.
See Also

Reference

DateCondition Class
DateCondition Members