Partager via


IIntellisenseSession.Collapse Method

Reduces the session to a minimized state. If the session has no such state, the session will be dismissed.

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

Syntax

'Déclaration
Sub Collapse
void Collapse()
void Collapse()
abstract Collapse : unit -> unit 
function Collapse()

Remarks

The ISmartTagSession is the only default IIntellisenseSession that has a collapsed state.

All other default sessions (ICompletionSession, ISignatureHelpSession, and IQuickInfoSession) are dismissed when they are collapsed.

.NET Framework Security

See Also

Reference

IIntellisenseSession Interface

Microsoft.VisualStudio.Language.Intellisense Namespace