Control.ControlCollection.IList.Add(Object) 메서드

정의

이 멤버에 대한 설명은 Add(Object)를 참조하세요.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

 virtual int System.Collections.IList.Add(System::Object ^ control) = System::Collections::IList::Add;
int IList.Add (object control);
int IList.Add (object? control);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (control As Object) As Integer Implements IList.Add

매개 변수

control
Object

이 컬렉션에 추가할 개체입니다.

반환

Int32

새 요소를 삽입한 위치이거나, 항목이 컬렉션에 삽입되지 않았음을 나타내는 -1입니다.

구현

설명

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

적용 대상