Compartilhar via


IDifferenceViewer.ScrollToNextChange Method (SnapshotPoint, Boolean)

Scroll and move the caret to the next difference after the specified location.

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
Function ScrollToNextChange ( _
    point As SnapshotPoint, _
    wrap As Boolean _
) As Boolean
bool ScrollToNextChange(
    SnapshotPoint point,
    bool wrap
)
bool ScrollToNextChange(
    SnapshotPoint point, 
    bool wrap
)
abstract ScrollToNextChange : 
        point:SnapshotPoint * 
        wrap:bool -> bool
function ScrollToNextChange(
    point : SnapshotPoint, 
    wrap : boolean
) : boolean

Parameters

  • wrap
    Type: Boolean

    Wrap to the first difference if there is no next difference.

Return Value

Type: Boolean
true on success (if there was a next difference), false otherwise.

.NET Framework Security

See Also

Reference

IDifferenceViewer Interface

ScrollToNextChange Overload

Microsoft.VisualStudio.Text.Differencing Namespace