Method: NamedNodeMap.item()

Availability

BlackBerry Device Software version 4.6 or later

The item() method returns the node at the specified index in the map.

Syntax

NamedNodeMap.item( index )

Parameters

Parameter

Type

Description

index

int

An integer that represents the node’s position in the node map. Valid values are between 0 and NamedNodeMap.length-1 inclusive.

Return values

Returns the node at the indexth position in NamedNodeMap, or null if an invalid index position is specified.

Exceptions

None.


Was this information helpful? Send us your comments.