SPPolicyRoleCollection.GetEnumerator method
會傳回來逐一查看集合的列舉值。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetEnumerator As IEnumerator
'用途
Dim instance As SPPolicyRoleCollection
Dim returnValue As IEnumerator
returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public IEnumerator GetEnumerator()
傳回值
Type: System.Collections.IEnumerator
System.Collections.IEnumerator介面。