Observer.Detach (gb)

Sub Detach ( )

Detach the event observer from its object.

The object is then not observed anymore, and the event observer will not raise events anymore.