Επεξεργασία

Κοινή χρήση μέσω


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

Definition

Throws a NotSupportedException exception in all cases.

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

Parameters

item
T

The object to add to the array segment.

Implements

Exceptions

In all cases.

Remarks

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

Applies to