ISmartTagAction Interface

 
Note: This API is now obsolete.

Defines a smart tag action.

Smart tags are deprecated in favor of light bulbs. See ISuggestedAction for a replacement.

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

[ObsoleteAttribute("This API is deprecated in this version of the Visual Studio SDK, and will be retired in a future version. To find out more about the replacement API, Light Bulb, refer to http://go.microsoft.com/fwlink/?LinkId=394601.")]
public interface ISmartTagAction

NameDescription
System_CAPS_pubpropertyActionSets

Gets the list of smart tag action sets contained inside this smart tag action.

Smart tags are deprecated in favor of light bulbs. See ISuggestedAction for a replacement.

System_CAPS_pubpropertyDisplayText

Gets the text that is displayed in the default smart tag presenter.

Smart tags are deprecated in favor of light bulbs. See ISuggestedAction for a replacement.

System_CAPS_pubpropertyIcon

Gets image information that is displayed alongside the display text in the default smart tag.

Smart tags are deprecated in favor of light bulbs. See ISuggestedAction for a replacement.

System_CAPS_pubpropertyIsEnabled

Determines whether the smart tag action is enabled. By default, disabled smart tags are rendered but cannot be invoked.

Smart tags are deprecated in favor of light bulbs. See ISuggestedAction for a replacement.

NameDescription
System_CAPS_pubmethodInvoke()

A callback used to invoke the smart tag action.

Smart tags are deprecated in favor of light bulbs. See Invoke for a replacement.

Smart tag sessions contain zero or more actions, which are provided by smart tag sources.

For an example of the use of this interface, see Walkthrough: Displaying Light Bulb Suggestions.

Return to top
Show: