共用方式為


IDiaLineNumber::get_compilandId

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 a unique identifier for the compiland that contributed this line.

Syntax

HRESULT get_compilandId (   
   DWORD* pRetVal  
);  

Parameters

pRetVal
[out] Returns DWORD that contains the unique identifier for the compiland that contributed this line.

Return Value

If successful, returns S_OK. Returns S_FALSE if this property is not supported. Otherwise, returns an error code.

See Also

IDiaLineNumber