共用方式為


IPeekResultScrollState.RestoreScrollState(IPeekResultPresentation) Method

Definition

Restore the presentation to the captured state.

public:
 void RestoreScrollState(Microsoft::VisualStudio::Language::Intellisense::IPeekResultPresentation ^ presentation);
public void RestoreScrollState (Microsoft.VisualStudio.Language.Intellisense.IPeekResultPresentation presentation);
abstract member RestoreScrollState : Microsoft.VisualStudio.Language.Intellisense.IPeekResultPresentation -> unit
Public Sub RestoreScrollState (presentation As IPeekResultPresentation)

Parameters

presentation
IPeekResultPresentation

Result Presentation to scroll.

Remarks

presentation will always be the presentation that created this via presentation.CaptureScrollState().

Applies to