OrderedDictionary<TKey,TValue>.KeyCollection.IList.Add(Object) 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將專案加入至 IList。
virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
C#
int IList.Add(object value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (value As Object) As Integer Implements IList.Add
插入新專案的位置,或 -1,表示專案未插入集合中。
產品 | 版本 |
---|---|
.NET | 9, 10 |