DesignTimeTemplateParser.ParseTheme Method (IDesignerHost, String, String)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Parses a theme at design time.
Assembly: System.Web (in System.Web.dll)
static member ParseTheme : host:IDesignerHost * theme:string * themePath:string -> ControlBuilder
Parameters
- host
-
Type:
System.ComponentModel.Design.IDesignerHost
Manages designer components.
- theme
-
Type:
System.String
The content to parse.
- themePath
-
Type:
System.String
The path to the theme, which is used in creating the parser.
Return Value
Type: System.Web.UI.ControlBuilderThe RootBuilder from the parser that parsed the theme.
| Exception | Condition |
|---|---|
| Exception | An error occurred while parsing the theme. |
.NET Framework
Available since 2.0
Available since 2.0
Show: