Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IFormatConditions Interface / Add Method / Add(ContainsOperator,String) Method
The conditional format text operator.
The text associated with the conditional format.


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

    Parameters

    operator
    The conditional format text operator.
    text
    The text associated with the conditional format.

    Return Value

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