Editar

Compartilhar via


TemplateControlParser Class

Definition

Implements ASP.NET template parsing for template controls.

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

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

Remarks

The TemplateControlParser class provides parser functionality for the TemplateControl class. Classes that inherit from TemplateControl class include the UserControl and Page classes. Because the TemplateControlParser class is abstract, an instance of this class is not created directly.

Constructors

TemplateControlParser()

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

Initializes a new instance of the TemplateControlParser class.

Properties

Text

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

Gets the string that contains the data to be parsed.

(Inherited from TemplateParser)

Methods

CompileIntoType()

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

(Inherited from TemplateParser)
Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetReferencedType(String)

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

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

(Inherited from BaseTemplateParser)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetUserControlType(String)

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

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

(Inherited from BaseTemplateParser)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ParseFile(String, String)

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

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

(Inherited from TemplateParser)
ProcessError(String)

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

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)

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

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

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also