Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 845 Bytes

idiasymbol-get-name.md

File metadata and controls

47 lines (37 loc) · 845 Bytes
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
C++
IDiaSymbol::get_name method
mikejo5000
mikejo
mijacobs
debug-diagnostics

IDiaSymbol::get_name

Retrieves the name of the symbol.

Syntax

HRESULT get_name ( 
   BSTR* pRetVal
);

Parameters

pRetVal

[out] Returns the name of the symbol.

Return Value

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.

Example

IDiaSymbol* pType;
BSTR        name;
pType->get_name( &name );

See also