Redigera

Dela via


ICollection<T>.Add(T) Method

Definition

Adds an item to the ICollection<T>.

public:
 void Add(T item);
public void Add (T item);
abstract member Add : 'T -> unit
Public Sub Add (item As T)

Parameters

item
T

The object to add to the ICollection<T>.

Exceptions

Applies to

See also