Uredi

Deli z drugimi prek


ArraySegment<T>.ICollection<T>.Remove(T) Method

Definition

Throws a NotSupportedException exception in all cases.

 virtual bool System.Collections.Generic.ICollection<T>.Remove(T item) = System::Collections::Generic::ICollection<T>::Remove;
bool ICollection<T>.Remove (T item);
abstract member System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
override this.System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
Function Remove (item As T) As Boolean Implements ICollection(Of T).Remove

Parameters

item
T

The object to remove from the array segment.

Returns

Always throws an exception.

Implements

Exceptions

In all cases.

Remarks

This method always throws a NotSupportedException because an array segment cannot be contracted.

Applies to