WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsISupportsArray

IID:791eafa0-b9e6-11d1-8031-006008159b5a
Inherits From:nsICollection

This interface is implemented by the following components:


Methods

[notxpcom] PRBool AppendElements ( nsISupportsArray elements ) nsISupportsArray clone ( ) void Compact ( ) void DeleteElementAt ( PRUint32 index ) void DeleteLastElement ( nsISupports element ) [notxpcom] nsISupports ElementAt ( PRUint32 index ) [noscript][notxpcom] PRBool EnumerateBackwards ( nsISupportsArrayEnumFunc func , voidPtr* data ) [noscript][notxpcom] PRBool EnumerateForwards ( nsISupportsArrayEnumFunc func , voidPtr* data ) [notxpcom] PRBool Equals ( nsISupportsArray other ) PRInt32 GetIndexOf ( nsISupports possibleElement ) PRInt32 GetIndexOfStartingAt ( nsISupports possibleElement , PRUint32 startIndex ) PRInt32 GetLastIndexOf ( nsISupports possibleElement ) [notxpcom] PRInt32 IndexOf ( nsISupports possibleElement ) [notxpcom] PRInt32 IndexOfStartingAt ( nsISupports possibleElement , PRUint32 startIndex ) [notxpcom] PRBool InsertElementAt ( nsISupports element , PRUint32 index ) [notxpcom] PRBool InsertElementsAt ( nsISupportsArray other , PRUint32 index ) [notxpcom] PRInt32 LastIndexOf ( nsISupports possibleElement ) [notxpcom] PRBool MoveElement ( PRInt32 from , PRInt32 to ) [notxpcom] PRBool RemoveElementAt ( PRUint32 index ) [notxpcom] PRBool RemoveElementsAt ( PRUint32 index , PRUint32 count ) [notxpcom] PRBool RemoveLastElement ( nsISupports element ) [notxpcom] PRBool ReplaceElementAt ( nsISupports element , PRUint32 index ) [notxpcom] PRBool SizeTo ( PRInt32 size )

[notxpcom] PRBool AppendElements ( nsISupportsArray elements )

Arguments:
elements

nsISupportsArray clone ( )


void Compact ( )


void DeleteElementAt ( PRUint32 index )

Arguments:
index

void DeleteLastElement ( nsISupports element )

Arguments:
element

[notxpcom] nsISupports ElementAt ( PRUint32 index )

Arguments:
index

[notxpcom] PRBool EnumerateBackwards ( nsISupportsArrayEnumFunc func , voidPtr* data )

Arguments:
func
data

[notxpcom] PRBool EnumerateForwards ( nsISupportsArrayEnumFunc func , voidPtr* data )

Arguments:
func
data

[notxpcom] PRBool Equals ( nsISupportsArray other )

Arguments:
other

PRInt32 GetIndexOf ( nsISupports possibleElement )

Arguments:
possibleElement

PRInt32 GetIndexOfStartingAt ( nsISupports possibleElement , PRUint32 startIndex )

Arguments:
possibleElement
startIndex

PRInt32 GetLastIndexOf ( nsISupports possibleElement )

Arguments:
possibleElement

[notxpcom] PRInt32 IndexOf ( nsISupports possibleElement )

Arguments:
possibleElement

[notxpcom] PRInt32 IndexOfStartingAt ( nsISupports possibleElement , PRUint32 startIndex )

Arguments:
possibleElement
startIndex

[notxpcom] PRBool InsertElementAt ( nsISupports element , PRUint32 index )

Arguments:
element
index

[notxpcom] PRBool InsertElementsAt ( nsISupportsArray other , PRUint32 index )

Arguments:
other
index

[notxpcom] PRInt32 LastIndexOf ( nsISupports possibleElement )

Arguments:
possibleElement

[notxpcom] PRBool MoveElement ( PRInt32 from , PRInt32 to )

Arguments:
from
to

[notxpcom] PRBool RemoveElementAt ( PRUint32 index )

Arguments:
index

[notxpcom] PRBool RemoveElementsAt ( PRUint32 index , PRUint32 count )

Arguments:
index
count

[notxpcom] PRBool RemoveLastElement ( nsISupports element )

Arguments:
element

[notxpcom] PRBool ReplaceElementAt ( nsISupports element , PRUint32 index )

Arguments:
element
index

[notxpcom] PRBool SizeTo ( PRInt32 size )

Arguments:
size

References

This interface is the type of the following properties:

nsIAbDirectory.addressLists, nsIAbView.selectedAddresses, nsIAutoCompleteResults.items, nsIBrowserProfileMigrator.sourceProfiles, nsIMailProfileMigrator.sourceProfiles, nsIMsgAccount.identities, nsIMsgAccountManager.accounts, nsIMsgAccountManager.allIdentities, nsIMsgAccountManager.allServers, nsIMsgCompFields.attachmentsArray, nsIMsgFilter.actionList, nsIMsgFilter.searchTerms, nsIMsgMailView.searchTerms, nsIMsgSearchSession.searchTerms, nsISHEntry.refreshURIList, nsISmtpService.smtpServers

This interface is passed as an argument to the following methods:

nsIDragService.invokeDragSession, nsIDragService.invokeDragSessionWithImage, nsIDragService.invokeDragSessionWithSelection, nsIMessenger.copyFolders, nsIMessenger.copyMessages, nsIMsgCopyService.CopyFolders, nsIMsgCopyService.CopyMessages, nsIMsgFilter.getSortedActionList, nsIMsgFilterService.applyFiltersToFolders, nsIMsgFolder.DownloadMessagesForOffline, nsIMsgFolder.ListDescendents, nsIMsgFolder.addKeywordsToMessages, nsIMsgFolder.compactAll, nsIMsgFolder.compactAllOfflineStores, nsIMsgFolder.copyMessages, nsIMsgFolder.deleteMessages, nsIMsgFolder.deleteSubFolders, nsIMsgFolder.getExpansionArray, nsIMsgFolder.markMessagesFlagged, nsIMsgFolder.markMessagesRead, nsIMsgFolder.removeKeywordsFromMessages, nsIMsgFolder.setJunkScoreForMessages, nsIMsgFolder.setLabelForMessages, nsIMsgFolderCompactor.compactAll, nsIMsgFolderListener.itemMoveCopyCompleted, nsIMsgFolderNotificationService.notifyItemMoveCopyCompleted, nsIMsgLocalMailFolder.markMsgsOnPop3Server, nsIMsgSearchValidityTable.validateTerms, nsIPop3IncomingServer.downloadMailFromServers, nsIRDFDataSource.DoCommand, nsIRDFDataSource.IsCommandEnabled, nsISupportsArray.AppendElements, nsISupportsArray.Equals, nsISupportsArray.InsertElementsAt, nsITreeView.getCellProperties, nsITreeView.getColumnProperties, nsITreeView.getRowProperties

This interface is returned from the following methods:

inIDOMUtils.getCSSStyleRules, nsIEditorMailSupport.getEmbeddedObjects, nsIFormatConverter.getInputDataFlavors, nsIFormatConverter.getOutputDataFlavors, nsIHTMLEditor.getLinkedObjects, nsIImportAddressBooks.FindAddressBooks, nsIImportMail.FindMailboxes, nsIMsgAccountManager.GetIdentitiesForServer, nsIMsgAccountManager.GetServersForIdentity, nsIMsgFolder.getAllFoldersWithFlag, nsISupportsArray.clone, nsITransferable.flavorsTransferableCanExport, nsITransferable.flavorsTransferableCanImport

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com