共用方式為


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

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

傳回值

Type: System.Collections.IEnumerator
System.Collections.IEnumerator介面。

Implements

IEnumerable.GetEnumerator()

請參閱

參照

SPPolicyCollection class

SPPolicyCollection members

Microsoft.SharePoint.Administration namespace