共用方式為


SPResourceTrackingRuleCollection.GetEnumerator method

實作IEnumerable<SPResourceTrackingRule>。

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

Syntax

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

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

傳回值

Type: System.Collections.Generic.IEnumerator<SPResourceTrackingRule>

Implements

IEnumerable<T>.GetEnumerator()

請參閱

參照

SPResourceTrackingRuleCollection class

SPResourceTrackingRuleCollection members

Microsoft.SharePoint.Administration namespace