Szerkesztés

Megosztás a következőn keresztül:


ListBox.IntegerCollection.IList.Add(Object) Method

Definition

Adds a tab stop to the collection.

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

Parameters

item
Object

The tab stop to add to the ListBox.IntegerCollection.

Returns

The index at which the integer was added to the collection.

Implements

Exceptions

item is null.

item is not an 32-bit signed integer.

There is insufficient space to store the new item in the collection.

Remarks

This member is an explicit interface member implementation. It can be used only when the ListBox.IntegerCollection instance is cast to an IList interface.

Applies to