Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / BuiltInCfRule Class / SetValue Method
An integer value indicates the index of conditional formatting value.
A CfValue object indicates the conditional formatting value.


In This Topic
    SetValue Method (BuiltInCfRule)
    In This Topic
    Sets the conditional formatting value.
    Syntax
    'Declaration
     
    
    Public Overrides Function SetValue( _
       ByVal index As Integer, _
       ByVal value As CfValue _
    ) As Boolean
    'Usage
     
    
    Dim instance As BuiltInCfRule
    Dim index As Integer
    Dim value As CfValue
    Dim value As Boolean
     
    value = instance.SetValue(index, value)
    public override bool SetValue( 
       int index,
       CfValue value
    )

    Parameters

    index
    An integer value indicates the index of conditional formatting value.
    value
    A CfValue object indicates the conditional formatting value.

    Return Value

    true if the new value is assigned successful, false otherwise.
    See Also