CodeConstructType CodeConstructType CodeConstructType CodeConstructType Enum

定义

指定可通过 PageParserFilter 类的 ProcessCodeConstruct(CodeConstructType, String) 方法进行分析的代码构造。Specifies the code constructs that can be parsed in the ProcessCodeConstruct(CodeConstructType, String) method of the PageParserFilter class.

public enum class CodeConstructType
public enum CodeConstructType
type CodeConstructType = 
Public Enum CodeConstructType
继承
CodeConstructTypeCodeConstructTypeCodeConstructTypeCodeConstructType

字段

CodeSnippet CodeSnippet CodeSnippet CodeSnippet 0

<% ...%> 标记中的一个表达式。An expression in <% ...%> tags.

DataBindingSnippet DataBindingSnippet DataBindingSnippet DataBindingSnippet 2

<%= ... %> 标记中的一个表达式。An expression in <%= ... %> tags.

EncodedExpressionSnippet EncodedExpressionSnippet EncodedExpressionSnippet EncodedExpressionSnippet 4

<%: ... %> 标记中的一个表达式。An expression in <%: ... %> tags.

ExpressionSnippet ExpressionSnippet ExpressionSnippet ExpressionSnippet 1

<%# ... %> 标记中的一个表达式。An expression in <%# ... %> tags.

ScriptTag ScriptTag ScriptTag ScriptTag 3

包含 runat="server" 特性的 script 元素中的一个表达式。An expression in a script element that contains the runat="server" attribute.

注解

当你使用ProcessCodeConstruct PageParserFilter类的方法处理代码构造时, 如果你不希望true进一步处理代码构造, 则返回。When you process a code construct by using the ProcessCodeConstruct method of the PageParserFilter class, return true if you do not want to process the code construct further.

有关详细信息,请参见版本和依赖关系For more information, see Versions and Dependencies.

适用于

另请参阅