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


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

Parameters

compareType
The compare type.
expected
The expected DateTime object.

Return Value

The TimeCondition object.
See Also

Reference

TimeCondition Class
TimeCondition Members