PostSharp SDK6.7//Post­Sharp.​Sdk.​Code­Model.​Collections Namespace/Element­Collection(T) Class/Element­Collection(T) Methods/Element­Collection(T).​Get­Enumerator Method

ElementCollection<T>.GetEnumerator Method

Returns an enumerator that iterates through the collection.

Namespace:  PostSharp.Sdk.CodeModel.Collections
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public IEnumerator<T> GetEnumerator()

Return Value

Type: IEnumerator<T>
An enumerator that can be used to iterate through the collection.

Implements

IEnumerable<T>.GetEnumerator()
See Also