IDocumentPeekResultScrollState.RestoreScrollState(ITextView) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将任何文本视图滚动到 IPeekResultScrollState 此继承自的。
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)
参数
- presentation
- ITextView
TextView 滚动。