| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal operator As UnaryComparisonOperator, _ ByVal value As Object, _ ByVal isFormula As Boolean, _ ByVal suppressCustomName As Boolean _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim operator As UnaryComparisonOperator Dim value As Object Dim isFormula As Boolean Dim suppressCustomName As Boolean Dim instance As New UnaryComparisonConditionalFormattingRule(operator, value, isFormula, suppressCustomName)  | |
| C# | |
|---|---|
public UnaryComparisonConditionalFormattingRule( UnaryComparisonOperator operator, object value, bool isFormula, bool suppressCustomName )  | |
Parameters
- operator
 - The @operator.
 - value
 - The value.
 - isFormula
 - The boolean value indicates whether the value is a formula.
 - suppressCustomName
 trueIndicates that the expression, referred to by a custom name, will not be restricted; otherwise,false
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8