Udostępnij za pośrednictwem


ISmartTagAction Interface

Defines a smart tag action.

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

Syntax

'Deklaracja
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
Public property ActionSets Gets the list of smart tag action sets contained inside this smart tag action.
Public property DisplayText Gets the text that is displayed in the default smart tag presenter.
Public property Icon Gets image information that is displayed alongside the display text in the default smart tag.
Public property IsEnabled Determines whether the smart tag action is enabled. By default, disabled smart tags are rendered but cannot be invoked.

Top

Methods

  Name Description
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Language.Intellisense Namespace