Udostępnij za pośrednictwem


IPeekBroker2.TriggerNestedPeekSession Method

Definition

Starts a nested Peek session, assuming the options specify a peekable symbol on which a nested Peek session is requested. A Peek session is considered to be nested when it's started from a text view that represents an IPeekResult of a containing Peek session. This method doesn't create a new Peek session though, instead it adds another IPeekableItem to the containing session.

public:
 void TriggerNestedPeekSession(Microsoft::VisualStudio::Language::Intellisense::PeekSessionCreationOptions ^ options, Microsoft::VisualStudio::Language::Intellisense::IPeekSession2 ^ containingSession, Microsoft::VisualStudio::Utilities::IUIThreadOperationContext ^ operationContext);
public void TriggerNestedPeekSession (Microsoft.VisualStudio.Language.Intellisense.PeekSessionCreationOptions options, Microsoft.VisualStudio.Language.Intellisense.IPeekSession2 containingSession, Microsoft.VisualStudio.Utilities.IUIThreadOperationContext operationContext);
abstract member TriggerNestedPeekSession : Microsoft.VisualStudio.Language.Intellisense.PeekSessionCreationOptions * Microsoft.VisualStudio.Language.Intellisense.IPeekSession2 * Microsoft.VisualStudio.Utilities.IUIThreadOperationContext -> unit
Public Sub TriggerNestedPeekSession (options As PeekSessionCreationOptions, containingSession As IPeekSession2, operationContext As IUIThreadOperationContext)

Parameters

options
PeekSessionCreationOptions

The options needed to create a Peek session.

containingSession
IPeekSession2

The containing Peek session.

operationContext
IUIThreadOperationContext

A context of executing this operation on the UI thread, which allows to provide custom operation description and progress information.

Applies to