Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / CfExecutedResult Structure / GetMatchedRule Method
An integer value indicates the position of the conditional formatting rule.
An integer value represents the index of the conditional formatting rule's container.


In This Topic
    GetMatchedRule Method
    In This Topic
    Gets the matched conditional formatting rule at the specified position.
    Syntax
    'Declaration
     
    
    Public Function GetMatchedRule( _
       ByVal index As Integer, _
       ByRef rangeIndex As Integer _
    ) As CfRule
    'Usage
     
    
    Dim instance As CfExecutedResult
    Dim index As Integer
    Dim rangeIndex As Integer
    Dim value As CfRule
     
    value = instance.GetMatchedRule(index, rangeIndex)
    public CfRule GetMatchedRule( 
       int index,
       out int rangeIndex
    )

    Parameters

    index
    An integer value indicates the position of the conditional formatting rule.
    rangeIndex
    An integer value represents the index of the conditional formatting rule's container.

    Return Value

    A CfRule object represents the matched conditional formatting rule.
    See Also