Collection.IList.Add(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an item to the collection.
virtual int IListAdd(System::Object ^ Item) = System::Collections::IList::Add;
virtual int IListAdd(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object Item);
int IList.Add (object value);
abstract member IListAdd : obj -> int
override this.IListAdd : obj -> int
abstract member IListAdd : obj -> int
override this.IListAdd : obj -> int
Function IListAdd (Item As Object) As Integer Implements IList.Add
Function IListAdd (value As Object) As Integer Implements IList.Add
Parameters
- valueItem
- Object
The item to add to the collection.
Returns
The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.