SPListItemCollection.GetEnumerator method
傳回逐一查看集合的列舉值。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overrides Function GetEnumerator As IEnumerator
'用途
Dim instance As SPListItemCollection
Dim returnValue As IEnumerator
returnValue = instance.GetEnumerator()
public override IEnumerator GetEnumerator()
傳回值
Type: System.Collections.IEnumerator
IEnumerator 物件,可以用來逐一查看集合。
Implements
IEnumerable.GetEnumerator()
IEnumerable.GetEnumerator()