CompletionSet.Close Method
Closes the completion list display.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaration
Public Overridable Sub Close
'Usage
Dim instance As CompletionSet
instance.Close()
public virtual void Close()
public:
virtual void Close()
public function Close()
Remarks
This method closes the completion list display if it is open, and disposes any allocations the CompletionSet class may have made. If you derive a class from the CompletionSet class, you must override this method to deallocate any resources you have allocated and then call the base version of this method.
The base method calls the UpdateCompletionStatus method on the IVsTextView object that was passed to the Init method with a nulla null reference (Nothing in Visual Basic) value to have Visual Studio close the completion list display. The base method then calls Dispose on the Declarations object.
.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.