Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Add a predicate to selectively ignore differences.
Predicate: A predicate to be called for every computed line difference.
Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Delegate Function IgnoreDifferencePredicate ( _
    lineDifference As Difference, _
    leftSnapshot As ITextSnapshot, _
    rightSnapshot As ITextSnapshot _
) As Boolean
public delegate bool IgnoreDifferencePredicate(
    Difference lineDifference,
    ITextSnapshot leftSnapshot,
    ITextSnapshot rightSnapshot
)
public delegate bool IgnoreDifferencePredicate(
    Difference^ lineDifference, 
    ITextSnapshot^ leftSnapshot, 
    ITextSnapshot^ rightSnapshot
)
type IgnoreDifferencePredicate = 
    delegate of  
        lineDifference:Difference * 
        leftSnapshot:ITextSnapshot * 
        rightSnapshot:ITextSnapshot -> bool
JScript does not support delegates.
Parameters
- lineDifference
 Type: Microsoft.VisualStudio.Text.Differencing.Difference
- leftSnapshot
 Type: Microsoft.VisualStudio.Text.ITextSnapshot
- rightSnapshot
 Type: Microsoft.VisualStudio.Text.ITextSnapshot
Return Value
Type: Boolean