共用方式為


ChartSheetBase.Dispose Method

Definition

Releases all resources used by the current instance of the ChartSheetBase class.

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