ISmartTagAction Interface
Defines a smart tag action.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'宣言
Public Interface ISmartTagAction
public interface ISmartTagAction
public interface class ISmartTagAction
type ISmartTagAction = interface end
public interface ISmartTagAction
The ISmartTagAction type exposes the following members.
Properties
Name | Description | |
---|---|---|
ActionSets | Gets the list of smart tag action sets contained inside this smart tag action. | |
DisplayText | Gets the text that is displayed in the default smart tag presenter. | |
Icon | Gets image information that is displayed alongside the display text in the default smart tag. | |
IsEnabled | Determines whether the smart tag action is enabled. By default, disabled smart tags are rendered but cannot be invoked. |
Top
Methods
Name | Description | |
---|---|---|
Invoke | A callback used to invoke the smart tag action. |
Top
Remarks
Smart tag sessions contain zero or more actions, which are provided by smart tag sources.
Examples
For an example of the use of this interface, see Walkthrough: Displaying SmartTags.