PageParser PageParser PageParser PageParser Class

Definition

Implements a parser for .aspx files. This class cannot be inherited.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class PageParser sealed : System::Web::UI::TemplateControlParser
public sealed class PageParser : System.Web.UI.TemplateControlParser
type PageParser = class
    inherit TemplateControlParser
Public NotInheritable Class PageParser
Inherits TemplateControlParser
Inheritance

Remarks

ASP.NET uses this class to parse .aspx pages.

Constructors

PageParser() PageParser() PageParser() PageParser()

Initializes a new instance of the PageParser class.

Properties

DefaultApplicationBaseType DefaultApplicationBaseType DefaultApplicationBaseType DefaultApplicationBaseType

Gets or sets the type from which the HttpApplication instance is derived.

DefaultPageBaseType DefaultPageBaseType DefaultPageBaseType DefaultPageBaseType

Gets or sets the type from which all pages are derived.

DefaultPageParserFilterType DefaultPageParserFilterType DefaultPageParserFilterType DefaultPageParserFilterType

Gets or sets the page parser filter type that should be used at parse time.

DefaultUserControlBaseType DefaultUserControlBaseType DefaultUserControlBaseType DefaultUserControlBaseType

Gets or sets the type from which all user controls are derived.

EnableLongStringsAsResources EnableLongStringsAsResources EnableLongStringsAsResources EnableLongStringsAsResources

Gets or sets a value that indicates whether ASP.NET should optimize its internal handling of long strings that are encountered when ASP.NET parses a page or control.

Text Text Text Text

Gets the string that contains the data to be parsed.

(Inherited from TemplateParser)

Methods

CompileIntoType() CompileIntoType() CompileIntoType() CompileIntoType()

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

(Inherited from TemplateParser)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetCompiledPageInstance(String, String, HttpContext) GetCompiledPageInstance(String, String, HttpContext) GetCompiledPageInstance(String, String, HttpContext) GetCompiledPageInstance(String, String, HttpContext)

Returns an instance of a compiled page for the specific virtual path.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ParseFile(String, String) ParseFile(String, String) ParseFile(String, String) ParseFile(String, String)

Parses the content of the file that is specified by either its virtual or physical path.

(Inherited from TemplateParser)
ProcessError(String) ProcessError(String) ProcessError(String) ProcessError(String)

Reports a process error by creating a new ParserError object with the specified message and adding it to a ParserErrorCollection collection.

(Inherited from TemplateParser)
ProcessException(Exception) ProcessException(Exception) ProcessException(Exception) ProcessException(Exception)

Reports a parser exception by creating a new ParserError object as the specified Exception exception and adding it to a ParserErrorCollection collection.

(Inherited from TemplateParser)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to