SPResourceTrackingRuleCollection.GetEnumerator 方法

实现IEnumerable<SPResourceTrackingRule>。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<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()

返回值

类型:System.Collections.Generic.IEnumerator<SPResourceTrackingRule>

实现

IEnumerable<T>.GetEnumerator()

另请参阅

引用

SPResourceTrackingRuleCollection 类

SPResourceTrackingRuleCollection 成员

Microsoft.SharePoint.Administration 命名空间