共用方式為


IDocumentPeekResultScrollState.RestoreScrollState(ITextView) Method

Definition

Scrolls any text view to the the IPeekResultScrollState that this inherits from.

public:
 void RestoreScrollState(Microsoft::VisualStudio::Text::Editor::ITextView ^ presentation);
public:
 void RestoreScrollState(Microsoft::VisualStudio::Text::Editor::ITextView ^ presentation);
void RestoreScrollState(Microsoft::VisualStudio::Text::Editor::ITextView const & presentation);
public void RestoreScrollState (Microsoft.VisualStudio.Text.Editor.ITextView presentation);
abstract member RestoreScrollState : Microsoft.VisualStudio.Text.Editor.ITextView -> unit
Public Sub RestoreScrollState (presentation As ITextView)

Parameters

presentation
ITextView

TextView to scroll.

Applies to