ICollection(T).Add Method

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

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Adds an item to the array segment.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

void ICollection<T>.Add(
	T item
)

Parameters

item
Type: T
The object to add to the array segment.

Implements

ICollection<T>.Add(T)

ExceptionCondition
NotSupportedException

The array segment is read-only.

This member is an explicit interface member implementation. It can be used only when the ArraySegment<T> instance is cast to an ICollection<T> interface.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft