scripting:api:project:get-user-variable

GetUserVariable

Method of IProject

Read user variable value by name

  • BSTR strName
  • BSTR strConfiguration = "" (optional)
var pVal = Project.GetUserVariable(strName, strConfiguration);

==== Visual Basic Script ====

pVal = Project.GetUserVariable strName, strConfiguration

==== C++ ====

VARIANT Val;
HRESULT hr = Project.GetUserVariable(strName, strConfiguration, &Val);

===== See Also ===== IProject