description | title | ms.date | ms.topic | dev_langs | helpviewer_keywords | author | ms.author | manager | ms.subservice | ||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the line number in the source file. |
IDiaLineNumber::get_lineNumber |
11/04/2016 |
reference |
|
|
mikejo5000 |
mikejo |
mijacobs |
debug-diagnostics |
Retrieves the line number in the source file.
HRESULT get_lineNumber (
DWORD* pRetVal
);
pRetVal
[out] Returns the line number in the source file.
If successful, returns S_OK
. Returns S_FALSE
if this property is not supported. Otherwise, returns an error code.
CComPtr< IDiaLineNumber> pLine;
DWORD linenum;
pLine->get_lineNumber( &linenum );