語言

CodeNamespaceImportCollection.IList.Add(Object) 方法

定義

在 中加入一個物件。IList

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
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

參數

value
Object

該 Object 要加到 IList。

傳回

新元件插入的位置。

實作

備註

此成員為明確介面成員實作。 它只能在實 CodeNamespaceImportCollection 例投射到 IList 介面時使用。

適用於