共用方式為


Sys.Component.dispose Method

Removes the component from the application.

aComponent.dispose();

Remarks

The dispose method releases all resources from the Sys.UI.Component object, raises the disposing event, and unregisters the component from the application.

See Also

Tasks

Creating Custom Non-Visual Client Components

Reference

Sys.Component Class

Concepts

Releasing Component Resources

Creating a Client Component Class Using the Prototype Model

Other Resources

Language Reference