Share via


SPSystemPerformanceMonitorCollection.GetEnumerator method

Gets an enumerator that can be used to iterate through the collection.

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

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of SPSystemPerformanceMonitor)
'Usage
Dim instance As SPSystemPerformanceMonitorCollection
Dim returnValue As IEnumerator(Of SPSystemPerformanceMonitor)

returnValue = instance.GetEnumerator()
public IEnumerator<SPSystemPerformanceMonitor> GetEnumerator()

Return value

Type: System.Collections.Generic.IEnumerator<SPSystemPerformanceMonitor>
An object that can be used to iterate through the collection.

Implements

IEnumerable<T>.GetEnumerator()

See also

Reference

SPSystemPerformanceMonitorCollection class

SPSystemPerformanceMonitorCollection members

Microsoft.SharePoint.Utilities namespace