ListSortDescriptionCollection.IList.Add(Object) 메서드

정의

컬렉션에 항목을 추가합니다.

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
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

컬렉션에 추가할 항목입니다.

반환

새 요소가 삽입된 위치입니다.

구현

예외

설명

클래스는 ListSortDescriptionCollection 인터페이스를 System.Collections.IList 구현하기 때문에 메서드가 IList.Add 있어야 합니다. 그러나 클래스는 ListSortDescriptionCollection 읽기 전용 컬렉션을 나타내므로 컬렉션에 항목을 추가하는 작업은 잘못된 작업입니다.

적용 대상