TreeView.CreateControlCollection 메서드

정의

자식 컨트롤을 저장할 컬렉션을 만듭니다.

protected:
 override System::Web::UI::ControlCollection ^ CreateControlCollection();
protected override System.Web.UI.ControlCollection CreateControlCollection ();
override this.CreateControlCollection : unit -> System.Web.UI.ControlCollection
Protected Overrides Function CreateControlCollection () As ControlCollection

반환

ControlCollection

항상 EmptyControlCollection을 반환합니다.

설명

TreeView 컨트롤의 자식 컨트롤을 포함할 수 없습니다. 이 메서드는 자식 컨트롤의 추가 방지 하기 위해 재정의 되었습니다 하 고 항상 반환을 System.Web.UI.EmptyControlCollection 개체입니다.

적용 대상

추가 정보