Bewerken

Share via


CodeBlockType Enum

Definition

Specifies the type of the code block.

public enum class CodeBlockType
public enum CodeBlockType
type CodeBlockType = 
Public Enum CodeBlockType
Inheritance
CodeBlockType

Fields

Name Value Description
Code 0

Indicates that the block type is for code. A Code block type is contained inside the <% %> characters.

Expression 1

Indicates that the block type is for data expressions. A Expression block type is contained inside the <%= %> characters.

DataBinding 2

Indicates that the block type is for data binding. A DataBinding block type is contained inside the <%# %> characters.

EncodedExpression 3

Indicates that the block type is for encoded expressions. A EncodedExpression block type is contained inside the <%: %> characters.

Applies to