Implemented by
[scriptable, uuid(791eafa0-b9e6-11d1-8031-006008159b5a)]
interface nsISupportsArray : nsICollection
Methods
[notxpcom]
boolean
AppendElements(in nsISupportsArray aElements)
nsISupportsArray
clone()
void
Compact()
void
DeleteElementAt(in unsigned long aIndex)
void
DeleteLastElement(in nsISupports aElement)
[notxpcom]
nsISupports
ElementAt(in unsigned long aIndex)
[noscript, notxpcom]
boolean
EnumerateBackwards(in nsISupportsArrayEnumFunc aFunc, in voidPtr aData)
[noscript, notxpcom]
boolean
EnumerateForwards(in nsISupportsArrayEnumFunc aFunc, in voidPtr aData)
[notxpcom]
boolean
Equals([const] in nsISupportsArray other)
long
GetIndexOf(in nsISupports aPossibleElement)
long
GetIndexOfStartingAt(in nsISupports aPossibleElement, in unsigned long aStartIndex)
long
GetLastIndexOf(in nsISupports aPossibleElement)
[notxpcom]
long
IndexOf([const] in nsISupports aPossibleElement)
[notxpcom]
long
IndexOfStartingAt([const] in nsISupports aPossibleElement, in unsigned long aStartIndex)
[notxpcom]
boolean
InsertElementAt(in nsISupports aElement, in unsigned long aIndex)
[notxpcom]
boolean
InsertElementsAt(in nsISupportsArray aOther, in unsigned long aIndex)
[notxpcom]
long
LastIndexOf([const] in nsISupports aPossibleElement)
[notxpcom]
boolean
MoveElement(in long aFrom, in long aTo)
[notxpcom]
boolean
RemoveElementAt(in unsigned long aIndex)
[notxpcom]
boolean
RemoveElementsAt(in unsigned long aIndex, in unsigned long aCount)
[notxpcom]
boolean
RemoveLastElement([const] in nsISupports aElement)
[notxpcom]
boolean
ReplaceElementAt(in nsISupports aElement, in unsigned long aIndex)
[notxpcom]
boolean
SizeTo(in long aSize)
Compare to: