ReadOnlyCollection<T>.IList.Clear Méthode

Définition

Supprime tous les éléments de IList. Cette implémentation lève toujours NotSupportedException.

 virtual void System.Collections.IList.Clear() = System::Collections::IList::Clear;
void IList.Clear ();
abstract member System.Collections.IList.Clear : unit -> unit
override this.System.Collections.IList.Clear : unit -> unit
Sub Clear () Implements IList.Clear

Implémente

Exceptions

Toujours levée.

Remarques

Ce membre est une implémentation d'un membre d'interface explicite. Il peut uniquement être utilisé lorsque l'instance de ReadOnlyCollection<T> est castée en interface IList.

S’applique à