Share via


SPResourceTrackingRuleCollection.GetEnumerator method

Implements IEnumerable<SPResourceTrackingRule>.

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

Syntax

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

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

Return value

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

Implements

IEnumerable<T>.GetEnumerator()

See also

Reference

SPResourceTrackingRuleCollection class

SPResourceTrackingRuleCollection members

Microsoft.SharePoint.Administration namespace