共用方式為


IXMLNodeSource::GetLinePosition

Send Feedback

This method gets the current line number of the XML that is being parsed.

Syntax

ULONG GetLinePosition (void);

Parameters

None.

Return Values

This method returns the current line number of the XML that is being parsed.

Remarks

The current line position information can be queried at any time. The IXMLNodeFactory interface is given a pointer to the IXMLParser interface so that it can also use these methods.

Requirements

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: xmlparser.h
Library: xmlparser.lib

See Also

IXMLNodeSource | IXMLNodeSource::GetLineNumber | IXMLNodeSource::GetAbsolutePosition | IXMLNodeSource::GetLastError | IXMLNodeSource::GetErrorInfo

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.