IDiaSymbol::getSrcLineOnTypeDefn
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 source file and line number that indicate where a specified user-defined type is defined.
Syntax
HRESULT getSrcLineOnTypeDefn(
IDiaLineNumber **ppResult);
Parameters
ppResult
[out] A IDiaLineNumber
object that contains the source file and line number where the user-defined.
Return Value
If successful, returns S_OK
; otherwise, returns S_FALSE
or an error code.