ImmutableArray<T>.ICollection<T>.Clear 方法

定义

在所有情况下均引发 NotSupportedExceptionThrows NotSupportedException in all cases.

 virtual void System.Collections.Generic.ICollection<T>.Clear() = System::Collections::Generic::ICollection<T>::Clear;
void ICollection<T>.Clear ();
Sub Clear () Implements ICollection(Of T).Clear

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 ImmutableArray<T> 实例被强制转换为 ICollection<T> 接口时使用。It can be used only when the ImmutableArray<T> instance is cast to an ICollection<T> interface.

适用于