ListBox.IntegerCollection.IList.Add(Object) Метод
Определение
Добавляет в коллекцию позицию табуляции.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);
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
Параметры
- item
- Object
Позиция табуляции, добавляемая в коллекцию ListBox.IntegerCollection.The tab stop to add to the ListBox.IntegerCollection.
Возвращаемое значение
Индекс, соответствующий целому числу, добавленному в коллекцию.The index at which the integer was added to the collection.
Реализации
Исключения
item
имеет значение null
.item
is null
.
item
не является 32-разрядным целым числом со знаком.item
is not an 32-bit signed integer.
Недостаточно места для сохранения нового элемента в коллекции.There is insufficient space to store the new item in the collection.
Комментарии
Этот член представляет собой явную реализацию члена интерфейса.This member is an explicit interface member implementation. Он может использоваться, только если экземпляр ListBox.IntegerCollection приведен к типу интерфейса IList.It can be used only when the ListBox.IntegerCollection instance is cast to an IList interface.