API Reference > OdDb Classes > OdDbBaseHostAppServices Class > OdDbBaseHostAppServices Methods > OdDbBaseHostAppServices::getEnv Method
OdDbBaseHostAppServices::getEnv Method
Syntax
C++
virtual OdResult getEnv(const OdString & varName, OdString & value);

Get environment variable. If key varName doesn't exist, returns eKeyNotFound.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.