CodeTemplate

Constructor of CodeTemplate object as method of IScriptApplication

CodeTemplate constructor

Return Value

JavaScript

var ppCodeTemplateHandler = new CodeTemplate(onExecute, onText, onDescription, onEnabled);

Visual Basic Script

ppCodeTemplateHandler = ScriptApplication.CodeTemplate onExecute, onText, onDescription, onEnabled

C++

CComPtr<IScriptCodeTemplateHandler> pCodeTemplateHandler;
HRESULT hr = ScriptApplication.CodeTemplate(onExecute, onText, onDescription, onEnabled, &pCodeTemplateHandler);