Determines whether the specified cell contains a specified rule.
'Declaration
Public Function ContainsRule( _
ByVal As FormattingRuleBase, _
ByVal As System.Integer, _
ByVal column As System.Integer _
) As System.Boolean
'Usage
Dim instance As ConditionalFormat
Dim rule As FormattingRuleBase
Dim row As System.Integer
Dim column As System.Integer
Dim value As System.Boolean
value = instance.ContainsRule(rule, row, column)
public System.bool ContainsRule(
FormattingRuleBase ,
System.int ,
System.int column
)
Parameters
- rule
- The rule for which to check.
- row
- The row index.
- column
- The column index.
Return Value
true
if the specified cell contains the rule; otherwise, false
.