IDocumentPeekResultScrollState.RestoreScrollState(ITextView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.