Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== RegisterVariable ====== Method of [[:scripting:api:application:start|IApplication]] ===== Description ===== Register external variable (vValue can be explicit BSTR value or [[:scripting:api:variable-handler:start|IVariableHandler]]* callback) ===== Parameters ===== * [[scripting:api:data-type:BSTR|BSTR]] **strName** * [[scripting:api:data-type:VARIANT|VARIANT]] **vValue** ===== Syntax ===== ==== JavaScript ==== <code javascript> Application.RegisterVariable(strName, vValue); </code>==== Visual Basic Script ==== <code vb> Application.RegisterVariable strName, vValue </code>==== C++ ==== <code cpp> HRESULT hr = Application.RegisterVariable(strName, vValue); </code>===== See Also ===== [[:scripting:api:application:start|IApplication]] ~~NOTOC~~