Spread Silverlight Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / TimeCondition Class / FromDateTime Method
The compare type.
The expected DateTime object.

In This Topic
    FromDateTime Method (TimeCondition)
    In This Topic
    Creates a TimeCondition object from the DateTime object.
    Public Shared Function FromDateTime( _
       ByVal compareType As DateCompareType, _
       ByVal expected As Date _
    ) As TimeCondition
    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


    The compare type.
    The expected DateTime object.

    Return Value

    The TimeCondition object.
    See Also