Represents a collection of SPListItem objects.
SPListItemCollection 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
Count | Gets the number of list items in the collection, excluding folders. (覆盖 SPBaseCollection.Count。) |
![]() |
Fields | Returns a collection that contains all the fields that the query returned. |
![]() |
Item[Guid] | Gets the item object with the specified GUID from the collection. |
![]() |
Item[Int32] | Gets the list item at the specified index in the collection. |
![]() |
List | Gets the parent list of the collection. |
![]() |
ListItemCollectionPosition | Gets an object that is used to obtain the next set of rows in a paged view of a list. |
![]() |
NumberOfFields | Gets the number of fields that are represented in the collection. |
![]() |
QueryFieldNames | Gets a collection of query field names. |
![]() |
SourceQuery | Gets the query that retrieved the current collection of list items. |
![]() |
Xml | Gets all the data in the collection in XMLDATA format. |
![]() |
XmlDataSchema | Gets the schema that defines the XML that is returned by the Xml property. |
![]() |
XMLUseAllProperties | Gets a Boolean value that indicates whether the extended properties of the collection are serialized. |
页首
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
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 | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetDataTable | Returns the collection of list items as a data table. |
![]() |
GetEnumerator | Returns an enumerator to iterate through the collection. (覆盖 SPBaseCollection.GetEnumerator()。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetItemById | Returns the item with the specified integer ID from the collection. |
![]() |
GetType | (从 Object 继承。) |
![]() |
GetTypedEnumerator<T> | 返回以循环访问集合的类型安全枚举。 (从 SPBaseCollection 继承。) |
![]() |
Init | Initializes the specified list, query, and view. |
![]() |
ListScopeXmlHelper | Returns the scope XML of the collection. |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
ReorderItems | Reorders the items in the list. |
![]() |
ToString | (从 Object 继承。) |
页首
域
| 名称 | 说明 | |
|---|---|---|
![]() |
m_iRowCount | 此成员仅供内部使用,不能直接在您的代码中使用。 |
页首
显式 接口 实现
| 名称 | 说明 | |
|---|---|---|
![]() ![]() |
ICollection.CopyTo | 将集合中的元素复制到的指定索引处开始的数组。 (从 SPBaseCollection 继承。) |
![]() ![]() |
ICollection.IsSynchronized | 获取一个布尔值,指示集合访问是同步还是线程安全。 (从 SPBaseCollection 继承。) |
![]() ![]() |
ICollection.SyncRoot | 获取用于同步到集合的对象。 (从 SPBaseCollection 继承。) |
页首
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)