Share via


IDiaLineNumber::get_columnNumber

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 column number where the expression or statement begins.

Syntax

[C++]  
HRESULT get_columnNumber (   
   DWORD* pRetVal  
);  

Parameters

pRetVal
[out] Returns the column number where the expression or statement begins. If the value is zero, then column information is not present.

Return Value

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

Remarks

The column value returned by this method is a byte offset into the line to the first character of the statement on the line.

See Also

IDiaLineNumber