getLength Method (C-C++)
Returns the count of attributes. After you know the number, you can iterate through the list of attributes.
HRESULT getLength( [out, retval] int * pnLength);
The count of attributes in a list.
The value returned if the count is returned successfully.
The value returned if an internal error occurs.
Implemented in: MSXML 3.0 and later