Export (0) Print
Expand All

SPListItemCollection methods

The SPListItemCollection type exposes the following members.

  Name Description
Public method Add() Creates an item but requires the SPListItem.Update method to actually add the item to the list.
Public method Add(String, SPFileSystemObjectType) Creates an item that uses the specified folder URL and object type but requires the SPListItem.Update method to actually add the item to the list.
Public method Add(String, SPFileSystemObjectType, String) Creates an item that uses the specified folder URL, object type, and leaf name but requires the SPListItem.Update method to actually add the item to the list.
Public method BeginLoadData Prevents updates, additions, and other operations on the collection while loading data.
Public method Delete Deletes the item at the specified index in the collection.
Public method DeleteItemById Deletes the item with the specified integer ID from the collection.
Public method EndLoadData Allows normal operations on the collection to resume after loading data.
Protected method EnsureListItemsData Checks data for the items and, if necessary, updates the data to ensure it is current.
Protected method EnsureListScopeData Checks scope data for the items and, if necessary, updates it to ensure that the most current data is used.
Protected method EnsureListScopeDict Checks the scope dictionary for the items and, if necessary, updates it to ensure that the most current data is used.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetDataTable Returns the collection of list items as a data table.
Public method GetEnumerator Returns an enumerator to iterate through the collection. (Overrides SPBaseCollection.GetEnumerator().)
Public method GetHashCode (Inherited from Object.)
Public method GetItemById Returns the item with the specified integer ID from the collection.
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method Init Initializes the specified list, query, and view.
Protected method ListScopeXmlHelper Returns the scope XML of the collection.
Protected method MemberwiseClone (Inherited from Object.)
Public method ReorderItems Reorders the items in the list.
Public method ToString (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Top
Show:
© 2014 Microsoft