Compartilhar via


ISmartTagSession.State Property

Gets or sets the current state of this session.

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

Syntax

'Declaration
Property State As SmartTagState
SmartTagState State { get; set; }
property SmartTagState State {
    SmartTagState get ();
    void set (SmartTagState value);
}
abstract State : SmartTagState with get, set
function get State () : SmartTagState 
function set State (value : SmartTagState)

Property Value

Type: Microsoft.VisualStudio.Language.Intellisense.SmartTagState
The current smart tag state.

Remarks

With the default presenter, collapsed sessions are rendered as a small colored rectangle. Expanded sessions are rendered as a menu containing all of the valid actions.

.NET Framework Security

See Also

Reference

ISmartTagSession Interface

Microsoft.VisualStudio.Language.Intellisense Namespace