SmartTagType Enumeration

Note: This API is now obsolete.

The set of smart tag session types.

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")]
public enum SmartTagType

Member nameDescription

A tag that is valid only for a specific period of time. This type of tag is displayed in response to a modification of the buffer that could trigger additional actions, such as refactoring.


A general tag that is valid for a long period of time. This type indicates an action that may be performed on a region of text, and is displayed independently of user actions.

For an example of how to use this class, see Walkthrough: Displaying SmartTags.

Return to top