XMLAttributesColl Object

Description

An object representing a collection of element attributes. This object can be accessed using the XMLElement.Attributes method.

Properties

Method CountReturns the number of attributes in the XML attributes collection.
Method ItemReturns the attribute found in the specified position within the XML attributes collection.
ItemByNameReturns the attribute with the specified name.

Back to top

Count Property

Description

Returns the number of attributes in the XML attributes collection.

Syntax

XMLAttributesColl.Count

Return Value

Number

Back to top

Item Property

Description

Returns the attribute found in the specified position within the XML attributes collection.

Syntax

XMLAttributesColl.Item (Position)

Argument

Type

Description

Position

Number

The location of the attribute to return.

Return Value

XMLAttribute Object

Back to top

ItemByName Property

Description

Returns the attribute with the specified name.

Syntax

XMLAttributesColl.ItemByName (AttributeName )

Return Value

XMLAttribute Object

Back to top