Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IFormatConditions Interface / Add Method / Add(TimePeriods) Method
The date operator used in the format condition.


In This Topic
    Add(TimePeriods) Method
    In This Topic
    Adds a new conditional format.
    Syntax
    'Declaration
     
    
    Overloads Function Add( _
       ByVal dateOperator As TimePeriods _
    ) As IFormatCondition
    'Usage
     
    
    Dim instance As IFormatConditions
    Dim dateOperator As TimePeriods
    Dim value As IFormatCondition
     
    value = instance.Add(dateOperator)

    Parameters

    dateOperator
    The date operator used in the format condition.

    Return Value

    A IFormatCondition object that represents the new conditional format.
    See Also