IBindingList.IsSorted Eigenschaft
Definition
Ruft ab, ob die Element in der Liste sortiert werden.Gets whether the items in the list are sorted.
public:
property bool IsSorted { bool get(); };
public bool IsSorted { get; }
member this.IsSorted : bool
Public ReadOnly Property IsSorted As Boolean
Eigenschaftswert
true
, wenn ApplySort(PropertyDescriptor, ListSortDirection) aufgerufen wurde und RemoveSort() nicht aufgerufen wurde, andernfalls false
.true
if ApplySort(PropertyDescriptor, ListSortDirection) has been called and RemoveSort() has not been called; otherwise, false
.
Ausnahmen
SupportsSorting ist false
.SupportsSorting is false
.
Hinweise
Diese Eigenschaft wird unterstützt, wenn den Wert SupportsSorting true
hat. andernfalls löst diese Eigenschaft eine aus NotSupportedException .This property is supported if SupportsSorting is true
; otherwise, this property throws a NotSupportedException.
Wenn IsSorted zurückgibt true
, werden Elemente in der Sortierreihenfolge hinzugefügt oder entfernt.If IsSorted returns true
, items are added or removed in the order of the sort.