Method of IProject
Read user variable value by name
var pVal = Project.GetUserVariable(strName, strConfiguration);
pVal = Project.GetUserVariable strName, strConfiguration
VARIANT Val; HRESULT hr = Project.GetUserVariable(strName, strConfiguration, &Val);