共用方式為


SmartTagState Enumeration

The set of smart tag session states.

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

Syntax

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

Members

Member name Description
Collapsed The session is rendered in collapsed mode, which in the default presenter is indicated by a small colored rectangle
Intermediate The session is neither collapsed nor expanded. In the default presenter, this is indicated by a button but no action menu.
Expanded The session is rendered in expanded mode, which in the default presenter is indicated by a menu from which the user can select actions.

Examples

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

See Also

Reference

Microsoft.VisualStudio.Language.Intellisense Namespace