length Property (Visual Basic)

MSXML 5.0 SDK

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

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

Parameters

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.

See Also

getURI Method | getLocalName Method | getValue Method | getValueFromName Method | getValueFromQName Method

Applies to: IVBSAXAttributes Interface