다음을 통해 공유


SPPersistedObjectCollection<T>.IEnumerable.GetEnumerator Method

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 SPPersistedObjectCollection
Dim returnValue As IEnumerator

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

Return Value

Type: System.Collections.IEnumerator
Returns IEnumerator.

Implements

IEnumerable.GetEnumerator()

See Also

Reference

SPPersistedObjectCollection<T> Class

SPPersistedObjectCollection<T> Members

Microsoft.SharePoint.Administration Namespace