Spread Windows Forms 12.0 Product Documentation
SetValue Method (CfRule)


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > CfRule Class : SetValue Method
An integer value indicates the index of conditional formatting value.
A CfValue object indicates the conditional formatting value.
Sets the conditional formatting value.
Syntax
'Declaration
 
Public Overridable Function SetValue( _
   ByVal index As Integer, _
   ByVal value As CfValue _
) As Boolean
'Usage
 
Dim instance As CfRule
Dim index As Integer
Dim value As CfValue
Dim value As Boolean
 
value = instance.SetValue(index, value)
public virtual 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

Reference

CfRule Class
CfRule Members