FOM 参照 > Application > Arrays > fStringArray interface
fStringArray interface
A container of strings.
length attribute
Returns the number of elements in this array.
length
Access
read-only
Returns
unsigned int
item method
Return the item stored at the given index.
item index
Parameters
unsigned int index
The index of the item to be returned.
Returns
String. The item stored at the given index.
namedItem method
Returns the value currently stored under the given name.
namedItem name
Parameters
String name
The name of the item to be returned.
Returns
String. The value stored under the given name.
readResolve method
Return the object corresponding to the given serialized representation.
readResolve obj
Parameters
Object obj
The serialized representation.
Returns
fStringArray. The object corresponding to the serialized representation.
setItem method
Set the string stored at the given index.
setItem index string
Parameters
unsigned int index
The index of the item to be stored.
String string
The string to be stored at the given index.
Returns
void. This method does not have a return value.
setNamedItem method
Set the value stored under the given name.
setNamedItem name value
Parameters
String name
The name of the item to be set.
String value
The value to store under the given name.
Returns
void. This method does not have a return value.
これは役に立ちましたか?