UsingNameSpace
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. 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
Some symbols might be referred to by namespace, and would subsequently be identified by a SymTagUsingNameSpace
tag.
Note
The UsingNamespace symbol tag appears only in managed code.
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 enclosing compiland, block, or function. |
IDiaSymbol::get_lexicalParentId | DWORD |
ID of the lexical parent symbol. |
IDiaSymbol::get_name | BSTR |
Namespace name. |
IDiaSymbol::get_symIndexId | DWORD |
Index ID of symbol. |
IDiaSymbol::get_symTag | DWORD |
Returns SymTagNameSpace (one of the SymTagEnum Enumeration values). |