Home > Products > CSHTMLDiff Control > Documentation > User Guide

ReviewAcceptAll
Previous  Top  Next


 
Perform an 'Accept All Changes' operation on the current contents of the control.  
 
Syntax  
 
Sub ReviewAcceptAll()  
 
Remarks  
 
Accepts all the changes in the current contents.  
Any deleted elements become hidden and any added elements become part of the contents. This causes the control to effectively display the Revised file.  
 
This operation is available only after a valid call to DoDiff.  
 
Example  
 
Private Sub AcceptAll_Click()  
diffCtrl1.ReviewAcceptAll  
 
End Sub  
 
See Also  
 
DoDiff, RevisedFile, Reviewing Changes, Diff Specification