Home Cooker Classes Others Rice CookerGX
Classes  >  select  >  Length
select class : Length getter

Description

Gets the number of items that this selectbox has.

Syntax

selectInstance.Length

Arguments

None

Return value

ClassDescription
intThe number of items that this selectbox has.

Sample code

// anySelect is an instance of select class.

int numberOfItems= anySelect.Length;

Notes

It is the number of child option tags.

Links for reference

Copyright © Rice All rights reserved.