ISDBScriptControl::UnRegisterHandler

From MediaMonkey Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

CoClass SDBScriptControl, Interface ISDBScriptControl

Sub UnRegisterHandler(HandlerName As String)


Parameters

Name Type Description
HandlerName String Procedure name of the handler (string)


Method description

Unregisters all COM object events that are handled by the given handler.

Example code

Script.RegisterEvent SDB, "OnShutdown", "ShutdownHandler"
'....
Script.UnRegisterHandler "ShutdownHandler"

Sub ShutdownHandler
  ' Event code goes here....
End Sub