IPeekBroker::TriggerNestedPeekSession Method (ITextView^, ITrackingPoint^, String^, IPeekSession^)

Visual Studio 2015
 

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.

Namespace:   Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

void TriggerNestedPeekSession(
	ITextView^ textView,
	ITrackingPoint^ triggerPoint,
	String^ relationshipName,
	IPeekSession^ containingSession
)

Parameters

textView
Type: Microsoft.VisualStudio.Text.Editor::ITextView^

The ITextView over which to trigger a nested Peek session.

triggerPoint
Type: Microsoft.VisualStudio.Text::ITrackingPoint^

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

relationshipName
Type: System::String^

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

containingSession
Type: Microsoft.VisualStudio.Language.Intellisense::IPeekSession^

The containing Peek session.

Return to top
Show: