SPListItemCollection.GetEnumerator 方法

Returns an enumerator to iterate through the collection.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Overrides Function GetEnumerator As IEnumerator
用法
Dim instance As SPListItemCollection
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator()
public override IEnumerator GetEnumerator()

返回值

类型:System.Collections.IEnumerator
An IEnumerator object that can be used to iterate through the collection.

实现

IEnumerable.GetEnumerator()
IEnumerable.GetEnumerator()

另请参阅

引用

SPListItemCollection 类

SPListItemCollection 成员

Microsoft.SharePoint 命名空间