แก้ไข

แชร์ผ่าน


TemplateParser Class

Definition

Serves as the abstract base class for ASP.NET file parsers.

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

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

Remarks

The TemplateParser class provides the common functionality for parser classes. Because the TemplateParser class is abstract, an instance of this class is not created directly.

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.

Methods

CompileIntoType()

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

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

Gets the Type of the current instance.

(Inherited from Object)
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.

ParseTemplate(String, String, Boolean)

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

Parses the template.

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.

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.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also