DesignTimeTemplateParser.ParseTheme Method (IDesignerHost, String, String)

 

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

Parses a theme at design time.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

Public Shared Function ParseTheme (
	host As IDesignerHost,
	theme As String,
	themePath As String
) As 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.ControlBuilder

The RootBuilder from the parser that parsed the theme.

Exception Condition
Exception

An error occurred while parsing the theme.

.NET Framework
Available since 2.0
Return to top
Show: