method Component.Clear ()
Clears the component, by removing the name, properties and components.

TypeDescription
The Clear method empties the component, by removing the name, properties and components.  Use the Remove method to remove a component from the Components collection.

The Clear methods do the following: