CodeConstructType Enum


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


CodeSnippet 0

An expression in <% ...%> tags.

DataBindingSnippet 2

An expression in <%= ... %> tags.

EncodedExpressionSnippet 4

An expression in <%: ... %> tags.

ExpressionSnippet 1

An expression in <%# ... %> tags.

ScriptTag 3

An expression in a script element that contains the runat="server" attribute.


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.

Applies to

See also