ISmartTagAction Interface

Defines a smart tag action.

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

public interface ISmartTagAction

The ISmartTagAction type exposes the following members.

Public propertyActionSetsGets the list of smart tag action sets contained inside this smart tag action.
Public propertyDisplayTextGets the text that is displayed in the default smart tag presenter.
Public propertyIconGets image information that is displayed alongside the display text in the default smart tag.
Public propertyIsEnabledDetermines whether the smart tag action is enabled. By default, disabled smart tags are rendered but cannot be invoked.

Public methodInvokeA callback used to invoke the smart tag action.

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 SmartTags.

Community Additions