Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / DateCondition Class / FromDateTime Method
The compare type.
The expected dateTime object.


In This Topic
    FromDateTime Method (DateCondition)
    In This Topic
    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