共用方式為


SPResourceTrackingRuleCollection.IEnumerable.GetEnumerator method

實作IEnumerable執行個體。

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

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'用途
Dim instance As SPResourceTrackingRuleCollection
Dim returnValue As IEnumerator

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

傳回值

Type: System.Collections.IEnumerator

Implements

IEnumerable.GetEnumerator()

請參閱

參照

SPResourceTrackingRuleCollection class

SPResourceTrackingRuleCollection members

Microsoft.SharePoint.Administration namespace