BaseTemplateParser BaseTemplateParser BaseTemplateParser BaseTemplateParser Class

Definition

Implements ASP.NET template parsing for template files.

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

public ref class BaseTemplateParser abstract : System::Web::UI::TemplateParser
public abstract class BaseTemplateParser : System.Web.UI.TemplateParser
type BaseTemplateParser = class
    inherit TemplateParser
Public MustInherit Class BaseTemplateParser
Inherits TemplateParser
Inheritance

Remarks

The BaseTemplateParser class provides parser functionality for the TemplateControl and PageTheme classes. Because the BaseTemplateParser class is abstract, an instance of this class is not created directly.

Constructors

BaseTemplateParser() BaseTemplateParser() BaseTemplateParser() BaseTemplateParser()

Initializes a new instance of the BaseTemplateParser class.

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)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetReferencedType(String) GetReferencedType(String) GetReferencedType(String) GetReferencedType(String)

Compiles and returns the type of the Page or UserControl control that is specified by the virtual path.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetUserControlType(String) GetUserControlType(String) GetUserControlType(String) GetUserControlType(String)

Compiles and returns the type of the UserControl object that is specified by the virtual path.

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)

Properties

Text Text Text Text

Gets the string that contains the data to be parsed.

(Inherited from TemplateParser)

Applies to

See also