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 Value

S_OK
The value returned if the count is returned successfully.

E_FAIL
The value returned if an internal error occurs.

Versioning

Implemented in: MSXML 3.0 and later

Applies to

ISAXAttributes Interface

See Also

getURI Method
getLocalName Method
getQName Method
getName Method (C-C++)
getValue Method1
getValueFromName Method
getValueFromQName Method