getColumnNumber Method (C-C++)

 

Returns the column number where the current document event ends.

This is the number of the first character after the text associated with the document event. The getColumnNumber method is permitted to show position within the text associated with the text event.

Syntax

  
HRESULT getColumnNumber(  
   [out, retval] int * pnColumn);  

Parameters

pnColumn[out, retval]
The column number (the first column in a line is #1). The pnColumn is –1 if the Locator object is not associated with some source input or a position within the source input.

Return Value

S_OK
The value returned if column number returned successfully.

Versioning

Implemented in: MSXML 3.0 and later

Applies to

ISAXLocator Interface

See Also

getLineNumber Method (C-C++)