length Property (Visual Basic)


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

Implementation Syntax

Property Get IVBSAXAttributes_length() As Long  

Usage Syntax

StrVal = oIVBSAXAttributes.length  


The count of attributes in a list.

Return Values

If there are no attributes in the collection, returns a "0".

If failed, raises a trappable error.


Implemented in: MSXML 3.0 and later

Applies to

ISAXAttributes Interface

See Also

getURI Method
getLocalName Method
getValue Method1
getValueFromName Method
getValueFromQName Method