Freigeben über


IgnoreDifferencePredicate Delegate

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

Return Value

Type: Boolean

See Also

Reference

Microsoft.VisualStudio.Text.Differencing Namespace