From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBScriptControl, Interface ISDBScriptControl

Sub UnRegisterEvents(ObjectVar As Object)


Name Type Description
ObjectVar Object Object whose events should be disconnected.

Method description

Unregisters all event handlers of the Object created by this script.

Example code

Is it safe to use the following to disable all events without interfering with any other scripts from other developers, as it only applies to events in the current VBS file:

Script.UnRegisterEvents SDB