DesignTimeTemplateParser.ParseTheme(IDesignerHost, String, String) Method

Definition

Parses a theme at design time.

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

C#
public static System.Web.UI.ControlBuilder ParseTheme(System.ComponentModel.Design.IDesignerHost host, string theme, string themePath);

Parameters

host
IDesignerHost

Manages designer components.

theme
String

The content to parse.

themePath
String

The path to the theme, which is used in creating the parser.

Returns

The RootBuilder from the parser that parsed the theme.

Exceptions

An error occurred while parsing the theme.

Applies to

Proizvod Verzije
.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

See also