IBindingList.RemoveSort Método
Definição
Remove qualquer classificação aplicada usando ApplySort(PropertyDescriptor, ListSortDirection).Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
public:
void RemoveSort();
public void RemoveSort ();
abstract member RemoveSort : unit -> unit
Public Sub RemoveSort ()
Exceções
SupportsSorting é false.SupportsSorting is false.
Comentários
Essa propriedade tem suporte se SupportsSorting for true ; caso contrário, essa propriedade lançará um NotSupportedException .This property is supported if SupportsSorting is true; otherwise, this property throws a NotSupportedException.
Ao chamar esse método, você deve gerar um ListChanged evento com a Reset enumeração.When you call this method, you should raise a ListChanged event with the Reset enumeration.