Partilhar via


IPeekBroker.TriggerNestedPeekSession Method

Definition

Overloads

TriggerNestedPeekSession(PeekSessionCreationOptions, IPeekSession)

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.

TriggerNestedPeekSession(ITextView, String, IPeekSession)

Starts a nested Peek session, assuming the caret position to be the position of 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.

TriggerNestedPeekSession(ITextView, ITrackingPoint, String, IPeekSession)

Starts a nested Peek session at a particular position, which is assumed to be the position of 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.

TriggerNestedPeekSession(PeekSessionCreationOptions, IPeekSession)

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::IPeekSession ^ containingSession);
void TriggerNestedPeekSession(Microsoft::VisualStudio::Language::Intellisense::PeekSessionCreationOptions const & options, Microsoft::VisualStudio::Language::Intellisense::IPeekSession const & containingSession);
public void TriggerNestedPeekSession (Microsoft.VisualStudio.Language.Intellisense.PeekSessionCreationOptions options, Microsoft.VisualStudio.Language.Intellisense.IPeekSession containingSession);
abstract member TriggerNestedPeekSession : Microsoft.VisualStudio.Language.Intellisense.PeekSessionCreationOptions * Microsoft.VisualStudio.Language.Intellisense.IPeekSession -> unit
Public Sub TriggerNestedPeekSession (options As PeekSessionCreationOptions, containingSession As IPeekSession)

Parameters

options
PeekSessionCreationOptions

The options needed to create a Peek session.

containingSession
IPeekSession

The containing Peek session.

Applies to

TriggerNestedPeekSession(ITextView, String, IPeekSession)

Starts a nested Peek session, assuming the caret position to be the position of 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::Text::Editor::ITextView ^ textView, System::String ^ relationshipName, Microsoft::VisualStudio::Language::Intellisense::IPeekSession ^ containingSession);
public:
 void TriggerNestedPeekSession(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Platform::String ^ relationshipName, Microsoft::VisualStudio::Language::Intellisense::IPeekSession ^ containingSession);
void TriggerNestedPeekSession(Microsoft::VisualStudio::Text::Editor::ITextView const & textView, std::wstring const & relationshipName, Microsoft::VisualStudio::Language::Intellisense::IPeekSession const & containingSession);
public void TriggerNestedPeekSession (Microsoft.VisualStudio.Text.Editor.ITextView textView, string relationshipName, Microsoft.VisualStudio.Language.Intellisense.IPeekSession containingSession);
abstract member TriggerNestedPeekSession : Microsoft.VisualStudio.Text.Editor.ITextView * string * Microsoft.VisualStudio.Language.Intellisense.IPeekSession -> unit
Public Sub TriggerNestedPeekSession (textView As ITextView, relationshipName As String, containingSession As IPeekSession)

Parameters

textView
ITextView

The ITextView over which to trigger a nested Peek session.

relationshipName
String

The name of the requested relationship to be explored by a nested Peek session.

containingSession
IPeekSession

The containing Peek session.

Applies to

TriggerNestedPeekSession(ITextView, ITrackingPoint, String, IPeekSession)

Starts a nested Peek session at a particular position, which is assumed to be the position of 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::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::ITrackingPoint ^ triggerPoint, System::String ^ relationshipName, Microsoft::VisualStudio::Language::Intellisense::IPeekSession ^ containingSession);
public:
 void TriggerNestedPeekSession(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::ITrackingPoint ^ triggerPoint, Platform::String ^ relationshipName, Microsoft::VisualStudio::Language::Intellisense::IPeekSession ^ containingSession);
void TriggerNestedPeekSession(Microsoft::VisualStudio::Text::Editor::ITextView const & textView, Microsoft::VisualStudio::Text::ITrackingPoint const & triggerPoint, std::wstring const & relationshipName, Microsoft::VisualStudio::Language::Intellisense::IPeekSession const & containingSession);
public void TriggerNestedPeekSession (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.ITrackingPoint triggerPoint, string relationshipName, Microsoft.VisualStudio.Language.Intellisense.IPeekSession containingSession);
abstract member TriggerNestedPeekSession : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.ITrackingPoint * string * Microsoft.VisualStudio.Language.Intellisense.IPeekSession -> unit
Public Sub TriggerNestedPeekSession (textView As ITextView, triggerPoint As ITrackingPoint, relationshipName As String, containingSession As IPeekSession)

Parameters

textView
ITextView

The ITextView over which to trigger a Peek session.

triggerPoint
ITrackingPoint

The point in the text buffer at which a Peek session is requested.

relationshipName
String

The name of the requested relationship to be explored by a Peek session.

containingSession
IPeekSession

The containing Peek session.

Applies to