Rediger

Del via


CodeConstructType Enum

Definition

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
Inheritance
CodeConstructType

Fields

Name Value Description
CodeSnippet 0

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

ExpressionSnippet 1

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

DataBindingSnippet 2

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

ScriptTag 3

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

EncodedExpressionSnippet 4

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

Remarks

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