ICollection<T>.Add(T) メソッド
定義
ICollection<T> に項目を追加します。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)
パラメーター
- item
- T
ICollection<T> に追加するオブジェクト。The object to add to the ICollection<T>.
例外
ICollection<T> は読み取り専用です。The ICollection<T> is read-only.