OperationParameterInfoCollection.IList.Add(Object) 方法

定义

将某项添加到 IList 中。Adds an item to the IList.

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
override this.System.Collections.IList.Add : obj -> int
Function Add (value As Object) As Integer Implements IList.Add

参数

value
Object

要添加到 IList 的对象。The object to add to the IList.

返回

Int32

新元素插入到的位置;或者为 -1,指示该项未插入到集合中。The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.

实现

适用于