| Visual Basic (Declaration) | |
|---|---|
Public Function GetComparedValue( _ ByVal cfType As ConditionalFormattingValueType, _ ByVal value As Object _ ) As Double  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As ConditionalFormatting Dim cfType As ConditionalFormattingValueType Dim value As Object Dim value As Double value = instance.GetComparedValue(cfType, value)  | |
| C# | |
|---|---|
public double GetComparedValue( ConditionalFormattingValueType cfType, object value )  | |
Parameters
- cfType
 - The conditional formatting value type.
 - value
 - The object value .
 
Return Value
A double value to compare with the cell's value.Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8