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

반품

항상 .를 반환합니다 EmptyControlCollection.

설명

컨트롤은 TreeView 자식 컨트롤의 포함을 지원하지 않습니다. 이 메서드는 자식 컨트롤의 추가를 방지하기 위해 재정의되었으며 항상 개체를 System.Web.UI.EmptyControlCollection 반환합니다.

적용 대상

추가 정보