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