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:

nsIAbBooleanExpression.expressions, nsIAbDirectory.addressLists, nsIAbDirectoryQueryResult.result, nsIAbView.selectedAddresses, nsIAutoCompleteResults.items, nsIBrowserProfileMigrator.sourceProfiles, nsIDownloadManager.activeDownloads, nsIMailProfileMigrator.sourceProfiles, nsIMsgAccount.identities, nsIMsgAccountManager.accounts, nsIMsgAccountManager.allIdentities, nsIMsgAccountManager.allServers, nsIMsgCompFields.attachmentsArray, nsIMsgFilter.actionList, nsIMsgFilter.searchTerms, nsIMsgMailSession.msgWindowsArray, nsIMsgMailView.searchTerms, nsIMsgSearchSession.searchTerms, nsISHEntry.refreshURIList, nsISmtpService.smtpServers

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

nsIAbDirectory.deleteCards, nsIAddrDatabase.getDeletedCardList, nsIAddressBook.deleteAddressBooks, nsIClipboard.hasDataMatchingFlavors, nsIDragService.invokeDragSession, nsIMessenger.CopyFolders, nsIMessenger.CopyMessages, nsIMsgCopyService.CopyFolders, nsIMsgCopyService.CopyMessages, nsIMsgFilter.getSortedActionList, nsIMsgFilterService.applyFiltersToFolders, nsIMsgFolder.DownloadMessagesForOffline, nsIMsgFolder.ListDescendents, nsIMsgFolder.compactAll, nsIMsgFolder.compactAllOfflineStores, nsIMsgFolder.copyMessages, nsIMsgFolder.deleteMessages, nsIMsgFolder.deleteSubFolders, nsIMsgFolder.getExpansionArray, nsIMsgFolder.markMessagesFlagged, nsIMsgFolder.markMessagesRead, nsIMsgFolder.setJunkScoreForMessages, nsIMsgFolder.setLabelForMessages, nsIMsgFolderCompactor.compactAll, nsIMsgLocalMailFolder.markMsgsOnPop3Server, nsIMsgSearchValidityTable.validateTerms, nsIPop3IncomingServer.downloadMailFromServers, nsIRDFDataSource.DoCommand, nsIRDFDataSource.IsCommandEnabled, nsISubscribableServer.getChildren, nsISupportsArray.AppendElements, nsISupportsArray.Equals, nsISupportsArray.InsertElementsAt, nsITreeView.getCellProperties, nsITreeView.getColumnProperties, nsITreeView.getRowProperties

This interface is returned from the following methods:

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

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com