| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal style As HighlightConditionalFormattingStyle, _ ByVal success As Boolean _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim style As HighlightConditionalFormattingStyle Dim success As Boolean Dim instance As New PrePaintResult(style, success)  | |
| C# | |
|---|---|
public PrePaintResult( HighlightConditionalFormattingStyle style, bool success )  | |
Parameters
- style
 - The style.
 - success
 - if set to 
true, the rule is matched. 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8