次の方法で共有


ViewFilter.Close Method

Definition

Closes down the view filter, releasing any allocated resources.

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 is called to release any allocations or resources made when the view filter was created.

The base method disconnects from the view in terms of getting events on the IVsTextViewEvents interface, removes itself as an IVsTextViewFilter interface from the view (so this object no longer receives commands), then calls the Dispose method.

This method is typically called from the Close method in the CodeWindowManager class.

Applies to