ISmartTagBroker.CreateSmartTagSession Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
Microsoft::VisualStudio::Language::Intellisense::ISmartTagSession ^ CreateSmartTagSession(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Language::Intellisense::SmartTagType type, Microsoft::VisualStudio::Text::ITrackingPoint ^ triggerPoint, Microsoft::VisualStudio::Language::Intellisense::SmartTagState state);
public:
Microsoft::VisualStudio::Language::Intellisense::ISmartTagSession ^ CreateSmartTagSession(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Language::Intellisense::SmartTagType type, Microsoft::VisualStudio::Text::ITrackingPoint ^ triggerPoint, Microsoft::VisualStudio::Language::Intellisense::SmartTagState state);
Microsoft::VisualStudio::Language::Intellisense::ISmartTagSession CreateSmartTagSession(Microsoft::VisualStudio::Text::Editor::ITextView const & textView, Microsoft::VisualStudio::Language::Intellisense::SmartTagType type, Microsoft::VisualStudio::Text::ITrackingPoint const & triggerPoint, Microsoft::VisualStudio::Language::Intellisense::SmartTagState state);
public Microsoft.VisualStudio.Language.Intellisense.ISmartTagSession CreateSmartTagSession (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Language.Intellisense.SmartTagType type, Microsoft.VisualStudio.Text.ITrackingPoint triggerPoint, Microsoft.VisualStudio.Language.Intellisense.SmartTagState state);
abstract member CreateSmartTagSession : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Language.Intellisense.SmartTagType * Microsoft.VisualStudio.Text.ITrackingPoint * Microsoft.VisualStudio.Language.Intellisense.SmartTagState -> Microsoft.VisualStudio.Language.Intellisense.ISmartTagSession
Public Function CreateSmartTagSession (textView As ITextView, type As SmartTagType, triggerPoint As ITrackingPoint, state As SmartTagState) As ISmartTagSession
Parameters
- type
- SmartTagType
The type of smart tag that should be created.
- triggerPoint
- ITrackingPoint
The location in the buffer where the smart tag session should be created.
- state
- SmartTagState
The initial state of the smart tag session.
Returns
A valid smart tag session.