description | title | ms.date | ms.topic | dev_langs | helpviewer_keywords | author | ms.author | manager | ms.subservice | ||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the name of the symbol. |
IDiaSymbol::get_name |
11/04/2016 |
reference |
|
|
mikejo5000 |
mikejo |
mijacobs |
debug-diagnostics |
Retrieves the name of the symbol.
HRESULT get_name (
BSTR* pRetVal
);
pRetVal
[out] Returns the name of the symbol.
If successful, returns S_OK
; otherwise, returns S_FALSE
or an error code.
Note
A return value of S_FALSE
means the property is not available for the symbol.
IDiaSymbol* pType;
BSTR name;
pType->get_name( &name );