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);
pVal = Project.GetUserVariable strName, strConfiguration
VARIANT Val;
HRESULT hr = Project.GetUserVariable(strName, strConfiguration, &Val);