nsISerializable
Last changed in Gecko 1.7 | void AppendElement(in nsISupports item); | 
| void Clear(); | 
| PRUint32 Count(); | 
| nsIEnumerator Enumerate(); | 
| nsISupports GetElementAt(in PRUint32 index); | 
| void QueryElementAt(in PRUint32 index, in nsIIDRef uuid, [iid_is(uuid),retval] out nsQIResult result); | 
| void RemoveElement(in nsISupports item); | 
| void SetElementAt(in PRUint32 index, in nsISupports item); | 
Appends a new item to the collection.
void AppendElement( in nsISupports item )
itemnsISupports item to be appended to the list.Removes all items from the collection.
void Clear();
None.
Returns the number of items in the collection.
PRUint32 Count();
None.
Number of items in the list.
Returns an nsIEnumerator that lets you iterate over the items in the collection.
nsIEnumerator Enumerate();
None.
An nsIEnumerator.
Returns the element at the specified index into the collection.
nsISupports GetElementAt( in PRUint32 index );
indexnsISupports item at the index position.
Performs a QueryInterface on the item at the specified index into the collection.
void QueryElementAt( in PRUint32 index, in nsIIDRef uuid, [iid_is(uuid),retval] out nsQIResult result );
indexuuidnsIIDRef of the item.resultRemoves an item from the collection.
void RemoveElement( in nsISupports item );
itemnsISupports item to be removed from the list.Replaces an item at a specified index in the collection with a new one.
void SetElementAt( in PRUint32 index, in nsISupports item );
indexitemnsISupports item to be set in that position.nsIEnumerator is a broken interface, and nsISimpleEnumerator should be used in its place.