Udostępnij za pośrednictwem


ISmartTagAction Interface

Definition

Caution

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.

Defines a smart tag action.Smart tags are deprecated in favor of light bulbs. See ISuggestedAction for a replacement.

public interface class ISmartTagAction
public interface class ISmartTagAction
__interface ISmartTagAction
[System.Obsolete("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
[<System.Obsolete("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.")>]
type ISmartTagAction = interface
Public Interface ISmartTagAction
Attributes

Remarks

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

Properties

ActionSets

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.

DisplayText

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.

Icon

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.

IsEnabled

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.

Methods

Invoke()

A callback used to invoke the smart tag action.Smart tags are deprecated in favor of light bulbs. See Invoke(CancellationToken) for a replacement.

Applies to