VirtualCollectionTGetEnumerator Method

Returns an enumerator that iterates through the VirtualCollectionT.
The base implementation returns the enumerator of the underlying collection.

Definition

Namespace: KGySoft.Collections.ObjectModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public virtual IEnumerator<T> GetEnumerator()

Return Value

IEnumeratorT
An IEnumeratorT for the VirtualCollectionT.

Implements

IEnumerableTGetEnumerator

Remarks

  Note

If the VirtualCollectionT was instantiated by the default constructor, then the returned enumerator supports the IEnumerator.Reset method; otherwise, it depends on the enumerator of the wrapped collection.

See Also