IDifferenceViewer.ScrollToPreviousChange Method (Boolean)
Given the cursor position in the last focused text view, scroll and move the caret to the previous difference.
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Function ScrollToPreviousChange ( _
wrap As Boolean _
) As Boolean
bool ScrollToPreviousChange(
bool wrap
)
bool ScrollToPreviousChange(
bool wrap
)
abstract ScrollToPreviousChange :
wrap:bool -> bool
function ScrollToPreviousChange(
wrap : boolean
) : boolean
Parameters
wrap
Type: BooleanWrap to the last difference if there is no previous difference.
Return Value
Type: Boolean
true on success (if there was a previous 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.