Array.IList.Add(Object) 메서드

정의

이 메서드를 호출하면 NotSupportedException 예외가 항상 throw됩니다.

 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에 추가됩니다.

반환

배열에 값을 추가하는 것은 지원되지 않습니다. 값이 반환되지 않습니다.

구현

예외

IList가 고정 크기입니다.

설명

일반적으로 구현은 IList.Add 컬렉션에 멤버를 추가합니다. 그러나 배열의 크기가 고정되어 있으므로(속성은 IsFixedSize 항상 를 반환 true함) 이 메서드는 항상 예외를 NotSupportedException throw합니다.

이 멤버는 명시적 인터페이스 멤버 구현이며, Array 인스턴스가 IList 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.

적용 대상