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
'Declaration
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
- 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.