ClientObjectCollection<T>.GetEnumerator 方法

返回可以循环ClientObjectCollection<T>集合中的元素的枚举。

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight.Runtime(位于 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中);  Microsoft.SharePoint.Client.Phone.Runtime(位于 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)  Microsoft.SharePoint.Client.Runtime(位于 Microsoft.SharePoint.Client.Runtime.dll 中)

语法

声明
Public Function GetEnumerator As IEnumerator(Of T)
用法
Dim instance As ClientObjectCollection
Dim returnValue As IEnumerator(Of T)

returnValue = instance.GetEnumerator()
public IEnumerator<T> GetEnumerator()

返回值

类型:System.Collections.Generic.IEnumerator<T>
一个可以循环集合中的元素的枚举。

另请参阅

引用

ClientObjectCollection<T> 类

ClientObjectCollection<T> 成员

Microsoft.SharePoint.Client 命名空间