SortedDictionary<TKey,TValue>.ValueCollection.ICollection<TValue>.Add 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將一個項目加入 ICollection<T>。 此實作總是拋 NotSupportedException出 。
virtual void System.Collections.Generic.ICollection<TValue>.Add(TValue item) = System::Collections::Generic::ICollection<TValue>::Add;
void ICollection<TValue>.Add(TValue item);
abstract member System.Collections.Generic.ICollection<TValue>.Add : 'Value -> unit
override this.System.Collections.Generic.ICollection<TValue>.Add : 'Value -> unit
Sub Add (item As TValue) Implements ICollection(Of TValue).Add
參數
- item
- TValue
要加入 ICollection<T>的物件。
實作
例外狀況
總是被拋棄;本合集僅供閱讀。