Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Scrolls the viewport vertically one line up or down.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Sub ScrollViewportVerticallyByLine ( _
direction As ScrollDirection _
)
void ScrollViewportVerticallyByLine(
ScrollDirection direction
)
void ScrollViewportVerticallyByLine(
ScrollDirection direction
)
abstract ScrollViewportVerticallyByLine :
direction:ScrollDirection -> unit
function ScrollViewportVerticallyByLine(
direction : ScrollDirection
)
Parameters
direction
Type: Microsoft.VisualStudio.Text.Editor.ScrollDirectionThe direction in which to scroll.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | direction is not a ScrollDirection. |
Remarks
The viewport always contains at least one visible line along its top edge, and the distance scrolled is clipped to ensure that this always remains true.
.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.