DestroyObject Method Example

The following example deletes the Chord object Chord1 from its container.

Chord1.DestroyObject