IPeekBroker::CreatePeekSession Method (ITextView^, ITrackingPoint^, String^)
Visual Studio 2015
Creates, but does not start a Peek session at a particular position, which is assumed to be the position of a peekable symbol on which a Peek session is requested.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
IPeekSession^ CreatePeekSession( 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^
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 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 trigger point for the given relationship.
Show: