GenericCollection<T>.IEnumerable.GetEnumerator method
Returns a generic enumerator that can iterate through the GenericCollection.
Namespace: Microsoft.SharePoint.Taxonomy.Generic
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Private Function GetEnumerator As IEnumerator
Implements IEnumerable.GetEnumerator
'Usage
Dim instance As GenericCollection
Dim returnValue As IEnumerator
returnValue = CType(instance, IEnumerable).GetEnumerator()
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
IEnumeratorIEnumerable.GetEnumerator()
Return value
Type: System.Collections.IEnumerator
A IEnumerator object for iterating the GenericCollection
Implements
Remarks
Implements the foreach statement (For Each in Visual Basic). You should not need to call this method directly.
Implements the [M:System.Collections.Generic.IEnumerable(T).GetEnumerator] method.