Поделиться через


OrderedDictionary<TKey,TValue>.KeyCollection.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

Объект, добавляемый в IList.

Возвращаемое значение

Позиция, в которую был вставлен новый элемент, или -1, чтобы указать, что элемент не был вставлен в коллекцию.

Реализации

Применяется к