다음을 통해 공유


SPAcl<T>.GetEnumerator Method

Returns an enumerator that can be used to iterate through the collection.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetEnumerator As IEnumerator(Of SPAce(Of T))
'Usage
Dim instance As SPAcl
Dim returnValue As IEnumerator(Of SPAce(Of T))

returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public IEnumerator<SPAce<T>> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<SPAce<T>>
A System.Collections.Generic.IEnumerator interface that can be used to iterate through the collection.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

SPAcl<T> Class

SPAcl<T> Members

Microsoft.SharePoint.Administration Namespace