Home > Products > CSHTMLDiff Control > Documentation > User Guide

ReviewRejectDiff
Previous  Top  Next


 
Perform a 'Reject Change' operation on the specified Diff.  
 
Syntax  
 
Sub ReviewRejectDiff(diffNum As Long)  
 
Parameters  
 
diffNum  
Zero based index of the Diff number to Reject. It must be a number between 0 and DiffCount-1  
 
Remarks  
 
Rejects the specified change in the displayed results.  
The visual effect of this is that any added element relevant to the specified Difference will become hidden, and any deleted element will become part of the contents.  
 
A single Difference may contain more than one changed element which can be affected by a single ReviewRejectDiff operation.  
 
This operation is available only after a valid call to DoDiff.  
 
Example  
 
Private Sub RejectDiff_Click()  
' Reject the Diff specified by the Text-Box 'txtNum'.  
diffCtrl1.ReviewRejectDiff CInt(txtNum.Text)  
 
End Sub  
 
See Also  
 
DoDiff, DiffCount, Reviewing Changes, Diff Specification