ISDBScriptControl::UnRegisterHandler

From MediaMonkey Wiki
Jump to: navigation, search

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