共用方式為


IDiaLineNumber::get_statement

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 flag indicating that this line information describes the beginning of a statement, rather than an expression, in the program source.

Syntax

HRESULT get_statement (   
   BOOL* pRetVal  
);  

Parameters

pRetVal
[out] Returns TRUE if this line information describes the beginning of a statement in the program source.

Return Value

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

Remarks

Statements can span multiple lines. This method indicates if the associated line number marks the beginning of such a multi-line statement.

See Also

IDiaLineNumber