次の方法で共有


IDiaSession::findLines

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

[このトピックはプレリリース版のため将来変更される可能性があります。また、プレースホルダとしてブランクのトピックが含まれています。]

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.

Return Value

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

See Also

IDiaEnumLineNumbers
IDiaSession
IDiaSourceFile
IDiaSymbol