Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CodeConstructType Enumeration
Collapse the table of content
Expand the table of content

CodeConstructType Enumeration

Specifies the code constructs that can be parsed in the ProcessCodeConstruct method of the PageParserFilter class.

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

public enum CodeConstructType

Member nameDescription
CodeSnippetAn expression in <% ... %> tags.
DataBindingSnippetAn expression in <%= ... %> tags.
EncodedExpressionSnippetAn expression in <%: ... %> tags.
ExpressionSnippetAn expression in <%# ... %> tags.
ScriptTagAn 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 .NET Framework Versions and Dependencies.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP1, 2.0 SP1
© 2015 Microsoft