GetUserVariable

Method of IProject

Read user variable value by name

  • BSTR strName
  • BSTR strConfiguration = "" (optional)

Return Value

JavaScript

var pVal = Project.GetUserVariable(strName, strConfiguration);

Visual Basic Script

pVal = Project.GetUserVariable strName, strConfiguration

C++

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