ISmartTagBroker::CreateSmartTagSession Method (ITextView^, SmartTagType, ITrackingPoint^, SmartTagState)
Visual Studio 2015
Creates a smart tag session for smart tags of the specified type at the specified location.
Smart tags are deprecated in favor of light bulbs. See ILightBulbBroker for a replacement.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
ISmartTagSession^ CreateSmartTagSession( ITextView^ textView, SmartTagType type, ITrackingPoint^ triggerPoint, SmartTagState state )
Parameters
- textView
-
Type:
Microsoft.VisualStudio.Text.Editor::ITextView^
The ITextView over which to create a smart tag session.
- type
-
Type:
Microsoft.VisualStudio.Language.Intellisense::SmartTagType
The type of smart tag that should be created.
- triggerPoint
-
Type:
Microsoft.VisualStudio.Text::ITrackingPoint^
The location in the buffer where the smart tag session should be created.
- state
-
Type:
Microsoft.VisualStudio.Language.Intellisense::SmartTagState
The initial state of the smart tag session.
Return Value
Type: Microsoft.VisualStudio.Language.Intellisense::ISmartTagSession^A valid smart tag session.
Show: