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
point
Type: Microsoft.VisualStudio.Text.SnapshotPointThe location to start scrolling from.
wrap
Type: BooleanWrap 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.