SPObjectModelTypeCollection.IEnumerable<SPObjectModelType>.GetEnumerator 方法

检索集合的枚举数类型。

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

语法

声明
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Private Function GetEnumerator As IEnumerator(Of SPObjectModelType)
    Implements IEnumerable(Of SPObjectModelType).GetEnumerator
用法
Dim instance As SPObjectModelTypeCollection
Dim returnValue As IEnumerator(Of SPObjectModelType)

returnValue = CType(instance, IEnumerable(Of SPObjectModelType)).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
IEnumerator<SPObjectModelType> IEnumerable<SPObjectModelType>.GetEnumerator()

返回值

类型:System.Collections.Generic.IEnumerator<SPObjectModelType>
一个IEnumerator<T>对象。内部命令是: return Types.Values.GetEnumerator();。

实现

IEnumerable<T>.GetEnumerator()

另请参阅

引用

SPObjectModelTypeCollection 类

SPObjectModelTypeCollection 成员

Microsoft.SharePoint.Administration 命名空间