次の方法で共有


SPAcl<T>.IEnumerable.GetEnumerator method

Returns an enumerator that iterates through the access control list (ACL).

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

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

Return value

Type: System.Collections.IEnumerator
An IEnumerator that can be used to iterate the ACL.

Implements

IEnumerable.GetEnumerator()

See also

Reference

SPAcl<T> class

SPAcl<T> members

Microsoft.SharePoint.Administration namespace