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
'宣言
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.