CodeConstructType Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: