ContentIterator Methods

Include Protected Members
Include Inherited Members

The ContentIterator type exposes the following members.

Methods

  Name Description
Public methodStatic member EnsureContentTypeIndexed Ensures that the ContentTypeId field is indexed for a list.
Public methodStatic member EnsureContentTypeIndexedIfLargeList Ensures that the ContentTypeId field is indexed for a list if it is a large list.
Public methodStatic member EnsureFieldIndexed Ensures that the field is indexed for a list.
Public methodStatic member EnsureFieldIndexedEx(SPList, SPField, Boolean) Ensures that the SPField object is indexed for a SPList object.
Public methodStatic member EnsureFieldIndexedEx(SPList, Guid, Boolean) Ensures that the SPField object is indexed for a SPList object.
Public methodStatic member EnsureFieldIndexedEx(SPList, String, Boolean) Ensures that the SPField object is indexed for a SPList object.
Public method ExecuteSitesProcessingDirect Iterates over every site collection in the farm.
Public methodStatic member GetAnyListItemInList Gets an arbitrary but consistent SPListItem object from a SPList object.
Public methodStatic member GetFileInFolder Gets the specified file from the specified folder without inflating the entire Files property collection.
Public methodStatic member ItemsOfContentTypeQuery Generates the query for an SPQuery object that returns all of the items of a specified content type.
Public methodStatic member ItemsOfContentTypeQueryInFolder Generates the query for a SPQuery object that returns all items of a specified content type inside a folder.
Public methodStatic member ListHasIndexedContentType Determines whether the content type field ID is indexed for the SPList object.
Public methodStatic member ListHasItemsOfContentType Determines if a SPList object or a SPFolder object has items of a specified content type.
Protected method OnProcessedList Determines if a SPList object or a SPFolder object has items of a specified content type for a processed list.
Protected method OnProcessedListItemsBatch Determines if a SPList object or a SPFolder object has items of a specified content type for a batch of items on a processed list.
Protected method OnProcessedSite Determines if a SPList object or a SPFolder object has items of a specified content type for a batch of items on a processed site.
Protected method OnProcessedWeb Determines if a SPList object or a SPFolder object has items of a specified content type for a batch of items on a processed web.
Protected method ProcessFile Determines if a SPList object or a SPFolder object has items of a specified content type for a batch of items on a processed file.
Public method ProcessFiles(SPListItemCollection, ContentIterator.FileProcessor, ContentIterator.FileProcessorErrorCallout) Iterates over all of the files in an item collection.
Public method ProcessFiles(SPListItemCollection, Boolean, ContentIterator.FileProcessor, ContentIterator.FileProcessorErrorCallout) This member is reserved for internal use and is not intended to be used directly from your code.
Public method ProcessFilesInFolder(SPFolder, Boolean, ContentIterator.FileProcessor, ContentIterator.FileProcessorErrorCallout) Iterates over items in a folder.
Public method ProcessFilesInFolder(SPList, SPFolder, Boolean, ContentIterator.FileProcessor, ContentIterator.FileProcessorErrorCallout) Iterates over items in a folder.
Public method ProcessItems(SPListItemCollection, ContentIterator.ItemProcessor, ContentIterator.ItemProcessorErrorCallout) Iterates over all items in a collection.
Public method ProcessItems(SPListItemCollection, Boolean, ContentIterator.ItemProcessor, ContentIterator.ItemProcessorErrorCallout) Iterates over items in a folder.
Public method ProcessItems(SPListItemCollection, Boolean, Boolean, ContentIterator.ItemProcessor, ContentIterator.ItemProcessorErrorCallout) Iterates over items in a folder.
Public method ProcessItemsInFolder(SPList, SPFolder, Boolean, Boolean, ContentIterator.ItemProcessor, ContentIterator.ItemProcessorErrorCallout) Iterates over items in a folder.
Public method ProcessItemsInFolder(SPList, SPFolder, Boolean, Boolean, Boolean, ContentIterator.ItemProcessor, ContentIterator.ItemProcessorErrorCallout) Iterates over items in a folder.
Public method ProcessListItems(SPList, ContentIterator.ItemProcessor, ContentIterator.ItemProcessorErrorCallout) Processes list items.
Public method ProcessListItems(SPList, SPQuery, ContentIterator.ItemProcessor, ContentIterator.ItemProcessorErrorCallout) Processes list items.
Public method ProcessListItems(SPList, SPQuery, ContentIterator.ItemsProcessor, ContentIterator.ItemsProcessorErrorCallout) Processes list items.
Public method ProcessListItems(SPList, Boolean, ContentIterator.ItemProcessor, ContentIterator.ItemProcessorErrorCallout) Processes list items.
Public method ProcessListItems(SPList, SPQuery, Boolean, ContentIterator.ItemProcessor, ContentIterator.ItemProcessorErrorCallout) Processes list items.
Public method ProcessListItems(SPList, String, Boolean, ContentIterator.ItemsProcessor, ContentIterator.ItemsProcessorErrorCallout) Processes list items.
Public method ProcessListItems(SPList, String, UInt32, Boolean, ContentIterator.ItemsProcessor, ContentIterator.ItemsProcessorErrorCallout) Processes list items.
Public method ProcessListItems(SPList, String, UInt32, Boolean, SPFolder, ContentIterator.ItemsProcessor, ContentIterator.ItemsProcessorErrorCallout) Processes list items.
Public method ProcessLists Processes a collection of lists.
Public method ProcessSite(SPSite, ContentIterator.WebProcessor, ContentIterator.WebProcessorErrorCallout) Processes all SPSite objects within a site collection.
Public method ProcessSite(SPSite, Boolean, ContentIterator.WebProcessor, ContentIterator.WebProcessorErrorCallout) Processes all SPSite objects within the site collection.
Public method ProcessSites Processes an SPSiteCollection object.
Protected method ResumeProcessListItemsBatch Manages resume functions for a batch of list items.
Protected method ResumeProcessLists Manages resume functions for a collection of lists.
Protected method ResumeProcessSites Manages resume functions for a collection of sites.
Protected method ResumeProcessWebs Manages resume actions for a collection of webs.
Public method ShouldCancel Determines whether the iteration should be cancelled at the specified granularity.
Protected method ShouldCancelCore Determines whether the iteration should be cancelled at the specified granularity.
Public methodStatic member UseLargeListQuerySemantics Indicates whether queries against the specified SPList object should use large list query semantics.

Top

See Also

Reference

ContentIterator Class

Microsoft.Office.Server.Utilities Namespace