KGy SOFT

SortableBindingListTGetEnumerator Method

KGy SOFT Core Libraries Help

Namespace:  KGySoft.ComponentModel
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 6.0.0-rc.1
Syntax

public override IEnumerator<T> GetEnumerator()

Return Value

Type: IEnumeratorT
An IEnumeratorT for the SortableBindingListT.

Implements

IEnumerableTGetEnumerator
Remarks

If the list is sorted (that is, when IsSorted returns ), then the items are returned in the sorted order. Otherwise, the items are returned in the order as they are stored in the wrapped underlying collection.

Note Note
If the SortableBindingListT is sorted, or it 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

Reference