IDiaSourceFile::get_compilands

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 an enumerator of compilands that have line numbers referencing this file.

Syntax

HRESULT get_compilands (   
   IDiaEnumSymbols** ppRetVal  
);  

Parameters

ppRetVal
[out] Returns an IDiaEnumSymbols object that contains a list of all compilands that have line numbers referencing this file.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

IDiaSourceFile
IDiaEnumSymbols