SPDiagnosticsCollection<T>.GetEnumerator method
Allows enumerating all items in the collection with a strongly typed Generic IEnumerator
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetEnumerator As IEnumerator(Of T)
'Usage
Dim instance As SPDiagnosticsCollection
Dim returnValue As IEnumerator(Of T)
returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public IEnumerator<T> GetEnumerator()
Return value
Type: System.Collections.Generic.IEnumerator<T>
Returns IEnumerator<T>.
Implements
IEnumerable<T>.GetEnumerator()
See also
Reference
SPDiagnosticsCollection<T> class