Collection<T>.IList.Add(Object) Method

Definition

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);
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

Parameters

value
Object

Object에 추가할 IList입니다.The Object to add to the IList.

Returns

Int32

새 요소를 삽입한 위치입니다.The position into which the new element was inserted.

Implements

Exceptions

value의 형식은 IList에 할당할 수 없습니다.value is of a type that is not assignable to the IList.

Remarks

이 방법은 O(1) 작업에 설명 합니다.This method is an O(1) operation.

Applies to