CodeBlockType Enumeration
TOC
Collapse the table of content
Expand the table of content

CodeBlockType Enumeration

.NET Framework (current version)
 

Specifies the type of the code block.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public enum CodeBlockType

Member nameDescription
Code

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

DataBinding

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

EncodedExpression

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

Expression

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

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft