CodeBlockType 枚举

定义

指定代码块的类型。Specifies the type of the code block.

public enum class CodeBlockType
public enum CodeBlockType
type CodeBlockType = 
Public Enum CodeBlockType
继承
CodeBlockType

字段

Code 0

指示该块类型用于代码。Indicates that the block type is for code. 一个 Code 块类型,包含在 <% %> 字符中。A Code block type is contained inside the <% %> characters.

DataBinding 2

指示该块类型用于数据绑定。Indicates that the block type is for data binding. 一个 DataBinding 块类型,包含在 <%# %> 字符中。A DataBinding block type is contained inside the <%# %> characters.

EncodedExpression 3

指示该块类型用于编码表达式。Indicates that the block type is for encoded expressions. 一个 EncodedExpression 块类型,包含在 <%: %> 字符中。A EncodedExpression block type is contained inside the <%: %> characters.

Expression 1

指示该块类型用于数据表达式。Indicates that the block type is for data expressions. 一个 Expression 块类型,包含在 <%= %> 字符中。A Expression block type is contained inside the <%= %> characters.

适用于