PageParserFilter.ProcessCodeConstruct(CodeConstructType, String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether a code block should be processed by subsequent parser filters.
public:
virtual bool ProcessCodeConstruct(System::Web::UI::CodeConstructType codeType, System::String ^ code);
public virtual bool ProcessCodeConstruct (System.Web.UI.CodeConstructType codeType, string code);
abstract member ProcessCodeConstruct : System.Web.UI.CodeConstructType * string -> bool
override this.ProcessCodeConstruct : System.Web.UI.CodeConstructType * string -> bool
Public Overridable Function ProcessCodeConstruct (codeType As CodeConstructType, code As String) As Boolean
- codeType
- CodeConstructType
One of the CodeConstructType enumeration values that identifies the type of the code construct.
- code
- String
The string literal that contains the code inside the code construct.
true
if the parser should process a code construct further; otherwise, false
. The default is false
.
You can override the ProcessCodeConstruct method to parse code contained in code constructs when implementing a custom PageParserFilter. After processing the code, this method returns true
if the parser should process the code further; otherwise, it returns false
.
The type of allowed code constructs are the CodeConstructType enumeration values.
ProcessCodeConstruct is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.
Produit | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :