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

定义

在所有情况下都会引发 NotSupportedException 异常。Throws a NotSupportedException exception 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

实现

异常

在所有情况下。In all cases.

注解

此方法始终引发 NotSupportedException,因为无法收缩数组段。This method always throws a NotSupportedException because an array segment cannot be contracted.

适用于