共用方式為


SmartTagType Enumeration

The set of smart tag session types.

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

Syntax

'宣告
Public Enumeration SmartTagType
public enum SmartTagType
public enum class SmartTagType
type SmartTagType
public enum SmartTagType

Members

Member name Description
Factoid 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.
Ephemeral 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.

Examples

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

See Also

Reference

Microsoft.VisualStudio.Language.Intellisense Namespace