次の方法で共有


IDiaLineNumber::get_lineNumber

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

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

Retrieves the line number in the source file.

HRESULT get_lineNumber ( 
   DWORD* pRetVal
);

Parameters

  • pRetVal
    [out] Returns the line number in the source file.

Return Value

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

Example

   CComPtr< IDiaLineNumber> pLine;
   DWORD linenum;
   pLine->get_lineNumber( &linenum );

See Also

IDiaLineNumber