getLength Method (C/C++)

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SAX2 Reference

getLength Method (C/C++)

Returns the count of attributes. After you know the number, you can iterate through the list of attributes.

Syntax

HRESULT getLength(
   [out, retval] int * pnLength);

Parameters

pnLength [out, retval]
The count of attributes in a list.

Return Values

S_OK
The value returned if the count is returned successfully.
E_FAIL
The value returned if an internal error occurs.

See Also

getURI Method | getLocalName Method | getQName Method | getName Method (C/C++) | getValue Method | getValueFromName Method | getValueFromQName Method

Applies to: ISAXAttributes Interface