Share via


ViewFilter.Close Method

Closes down the view filter, releasing any allocated resources.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Sub Close
'Usage
Dim instance As ViewFilter

instance.Close()
public virtual void Close()
public:
virtual void Close()
public function 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.

.NET Framework Security

See Also

Reference

ViewFilter Class

ViewFilter Members

Microsoft.VisualStudio.Package Namespace