Cleans up any allocations made just before the object is destroyed.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public Sub Dispose
'使用
Dim instance As Completor
instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
public final function Dispose()
Implements
Remarks
This method calls the Apply method if there are changes to commit to the view.
Permissions
- 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.