Method: StyleSheetList.item()

Availability

BlackBerry Device Software version 4.6 or later

The item() method returns the StyleSheet object at the specified index in the StyleSheetList.

Syntax

StyleSheetList.item( index )

Parameters

Parameter

Type

Description

index

int

An integer that represents the stylesheet’s position in stylesheet list. Valid values are 0 to StyleSheetList.length-1.

Return values

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

Exceptions

None.


Was this information helpful? Send us your comments.