SPListItemCollection Methods
Include Protected Members
Include Inherited Members
The SPListItemCollection type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() |
Add() | Creates an item but requires the SPListItem.Update method to actually add the item to the list. |
![]() |
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. |
![]() |
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. |
![]() |
BeginLoadData | Prevents updates, additions, and other operations on the collection while loading data. |
![]() |
Delete | Deletes the item at the specified index in the collection. |
![]() |
DeleteItemById | Deletes the item with the specified integer ID from the collection. |
![]() |
EndLoadData | Allows normal operations on the collection to resume after loading data. |
![]() |
EnsureListItemsData | Checks data for the items and, if necessary, updates the data to ensure it is current. |
![]() |
EnsureListScopeData | Checks scope data for the items and, if necessary, updates it to ensure that the most current data is used. |
![]() |
EnsureListScopeDict | Checks the scope dictionary for the items and, if necessary, updates it to ensure that the most current data is used. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetDataTable | Returns the collection of list items as a data table. |
![]() |
GetEnumerator | Returns an enumerator to iterate through the collection. (Overrides SPBaseCollection.GetEnumerator().) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetItemById | Returns the item with the specified integer ID from the collection. |
![]() |
GetObjectData | (Inherited from SPAutoSerializingObject.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
![]() |
Init | Initializes the specified list, query, and view. |
![]() |
ListScopeXmlHelper | Returns the scope XML of the collection. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnDeserialization | (Inherited from SPAutoSerializingObject.) |
![]() |
ReorderItems | Reorders items in the list. |
![]() |
ToString | (Inherited from Object.) |
![]() |
UpdateParent | (Inherited from SPAutoSerializingObject.) |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
ICollection.CopyTo | Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.) |
Top
.gif)
.gif)
.gif)
.gif)