共用方式為


IDiaSymbol::get_symbolsFileName

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

Retrieves the name of the file from which the symbols were loaded.

Syntax

HRESULT get_symbolsFileName (   
   BSTR* pRetVal  
);  

Parameters

pRetVal
[out] Returns the name of the file from which the symbols were loaded.

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.

Remarks

This property is valid only for symbols with a SymTagEnum Enumeration value of SymTagExe that also have global scope.

See Also

IDiaSymbol
SymTagEnum Enumeration