PageParserFilter.AllowControl(Type, ControlBuilder) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정한 컨트롤 형식이 이 페이지에 허용되는지 여부를 나타내는 값을 가져옵니다.
public:
virtual bool AllowControl(Type ^ controlType, System::Web::UI::ControlBuilder ^ builder);
public virtual bool AllowControl(Type controlType, System.Web.UI.ControlBuilder builder);
abstract member AllowControl : Type * System.Web.UI.ControlBuilder -> bool
override this.AllowControl : Type * System.Web.UI.ControlBuilder -> bool
Public Overridable Function AllowControl (controlType As Type, builder As ControlBuilder) As Boolean
매개 변수
- builder
- ControlBuilder
ControlBuilder 지정된 형식의 컨트롤을 빌드하는 데 사용되는 형식입니다.
반품
false입니다.
설명
클래스는 TemplateParser 구문 분석 시간에 페이지에서 컨트롤이 허용되는지 여부를 확인합니다. 페이지에서 특정 컨트롤을 AllowControl 거부하거나 허용하도록 메서드를 재정의합니다.