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

CodeConstructType Enumeration

.NET Framework (current version)
 

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
CodeSnippet

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

DataBindingSnippet

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

EncodedExpressionSnippet

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

ExpressionSnippet

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

ScriptTag

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 .NET Framework Versions and Dependencies.

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