Επεξεργασία

Κοινή χρήση μέσω


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.

public:
 static System::Web::UI::ControlBuilder ^ ParseTheme(System::ComponentModel::Design::IDesignerHost ^ host, System::String ^ theme, System::String ^ themePath);
public static System.Web.UI.ControlBuilder ParseTheme (System.ComponentModel.Design.IDesignerHost host, string theme, string themePath);
static member ParseTheme : System.ComponentModel.Design.IDesignerHost * string * string -> System.Web.UI.ControlBuilder
Public Shared Function ParseTheme (host As IDesignerHost, theme As String, themePath As String) As ControlBuilder

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

See also