PageParserFilter.ProcessCodeConstruct(CodeConstructType, String) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
코드 블록을 후속 파서 필터에서 처리해야 하는지 여부를 나타내는 값을 반환합니다.
public:
virtual bool ProcessCodeConstruct(System::Web::UI::CodeConstructType codeType, System::String ^ code);
public virtual bool ProcessCodeConstruct(System.Web.UI.CodeConstructType codeType, string code);
abstract member ProcessCodeConstruct : System.Web.UI.CodeConstructType * string -> bool
override this.ProcessCodeConstruct : System.Web.UI.CodeConstructType * string -> bool
Public Overridable Function ProcessCodeConstruct (codeType As CodeConstructType, code As String) As Boolean
매개 변수
- codeType
- CodeConstructType
코드 구문의 CodeConstructType 형식을 식별하는 열거형 값 중 하나입니다.
- code
- String
코드 구문 내의 코드를 포함하는 문자열 리터럴입니다.
반품
true파서가 코드 구문을 추가로 처리해야 하는 경우 그렇지 않으면 . false 기본값은 false입니다.
설명
사용자 지정ProcessCodeConstruct을 PageParserFilter 구현할 때 코드 구문에 포함된 코드를 구문 분석하도록 메서드를 재정의할 수 있습니다. 코드를 처리한 후 이 메서드는 파서가 코드를 추가로 처리해야 하는지를 반환 true 하고, 그렇지 않으면 반환합니다 false.
허용되는 코드 구문의 형식은 열거형 값입니다 CodeConstructType .
ProcessCodeConstruct .NET Framework 버전 3.5에 도입되었습니다. 자세한 내용은 버전 및 종속성을 참조하세요.