Set DocumentationIEnumerableGet Enumerator Method
Returns an enumerator that iterates through a collection.
Definition
Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
An IEnumerator object that can be used to iterate through the collection.
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
C#
IEnumerator IEnumerable.GetEnumerator()VB
Private Function GetEnumerator As IEnumerator
Implements IEnumerable.GetEnumeratorC++
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumeratorF#
private abstract GetEnumerator : unit -> IEnumerator
private override GetEnumerator : unit -> IEnumerator Return Value
IEnumeratorAn IEnumerator object that can be used to iterate through the collection.