共用方式為


SPObjectModelTypeCollection.IEnumerable.GetEnumerator Method

Retrieves the collection enumerator type.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As SPObjectModelTypeCollection
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
IEnumeratorIEnumerable.GetEnumerator()

Return Value

Type: System.Collections.IEnumerator
A [System.Collections.IEnumerator] object.

Implements

IEnumerable.GetEnumerator()

See Also

Reference

SPObjectModelTypeCollection Class

SPObjectModelTypeCollection Members

Microsoft.SharePoint.Administration Namespace