Share via


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)

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