IPeekBroker::TriggerPeekSession Method (ITextView^, ITrackingPoint^, String^)

Visual Studio 2015
 

Starts a Peek session, assuming the caret position to be the position of a peekable symbol on which a Peek session is requested.

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

IPeekSession^ TriggerPeekSession(
	ITextView^ textView,
	ITrackingPoint^ triggerPoint,
	String^ relationshipName
)

Parameters

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

The ITextView over which to trigger a Peek session.

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

relationshipName
Type: System::String^

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

Return Value

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

A valid Peek session. May be null if no session could be created at the caret position for the given relationship.

Return to top
Show: