Condividi tramite


DocumentBase.Dispose Method

Definition

Releases the resources used by the DocumentBase.

public:
 virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

Implements

Remarks

Do not call the Dispose method yourself. When the document in a document-level customization is closed, the Visual Studio Tools for Office runtime cleans up all resources used by the customization.

For more information about the Dispose method, see Cleaning Up Unmanaged Resources.

Applies to