IDifferenceViewer.ScrollToPreviousChange Method (SnapshotPoint, Boolean)
Scroll and move the caret to the previous difference before the specified location.
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Function ScrollToPreviousChange ( _
point As SnapshotPoint, _
wrap As Boolean _
) As Boolean
bool ScrollToPreviousChange(
SnapshotPoint point,
bool wrap
)
bool ScrollToPreviousChange(
SnapshotPoint point,
bool wrap
)
abstract ScrollToPreviousChange :
point:SnapshotPoint *
wrap:bool -> bool
function ScrollToPreviousChange(
point : SnapshotPoint,
wrap : boolean
) : boolean
Parameters
point
Type: Microsoft.VisualStudio.Text.SnapshotPointThe location to start scrolling from.
wrap
Type: BooleanWrap to the last difference if there is no previous 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.