SynchronizedReadOnlyCollection<T>.ICollection<T>.Clear Método

Definición

Lanza una NotSupportedException si se llama.

 virtual void System.Collections.Generic.ICollection<T>.Clear() = System::Collections::Generic::ICollection<T>::Clear;
void ICollection<T>.Clear ();
abstract member System.Collections.Generic.ICollection<T>.Clear : unit -> unit
override this.System.Collections.Generic.ICollection<T>.Clear : unit -> unit
Sub Clear () Implements ICollection(Of T).Clear

Implementaciones

Excepciones

Los elementos no se pueden borrar de una colección de solo lectura.

Comentarios

Los elementos no se pueden borrar de una colección de solo lectura.

Se aplica a