IDiaSession::findLines

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Retrieves line numbers within specified compiland and source file identifiers.

HRESULT findLines (   
   IDiaSymbol*           compiland,  
   IDiaSourceFile*       file,  
   IDiaEnumLineNumbers** ppResult  
);  

Parameters

compiland
[in]An IDiaSymbol object representing the compiland. Use this interface as a context in which to search for the line numbers.

file
[in] An IDiaSourceFile object representing the source file in which to search for the line numbers.

ppResult
[out] Returns an IDiaEnumLineNumbers object that contains a list of the line numbers retrieved.

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

IDiaEnumLineNumbers
IDiaSession
IDiaSourceFile
IDiaSymbol

Show: