Partilhar via


CompletionSet.Close Method

Definition

Closes the completion list display.

public:
 virtual void Close();
public:
 virtual void Close();
 virtual void Close();
public virtual void Close ();
abstract member Close : unit -> unit
override this.Close : unit -> unit
Public Overridable Sub 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 null value to have Visual Studio close the completion list display. The base method then calls Dispose on the Declarations object.

Applies to