CompilandEnv
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
The compiler may include additional environment variables with symbols. There is one SymTagCompilandEnv
symbol for each of these variables.
Properties
The following table shows the properties that are valid for this symbol type.
Property | Data type | Description |
---|---|---|
IDiaSymbol::get_lexicalParent | IDiaSymbol* |
Symbol for the parent compiland. |
IDiaSymbol::get_lexicalParentId | DWORD |
ID of the lexical parent symbol. |
IDiaSymbol::get_name | BSTR |
Name of the variable. |
IDiaSymbol::get_symIndexId | DWORD |
Index ID of symbol. |
IDiaSymbol::get_symTag | DWORD |
Returns SymTagCompilandEnv (one of the SymTagEnum Enumeration values). |
IDiaSymbol::get_value | VARIANT |
String-valued contents of the variable (VT_BSTR ). |