DesignTimeTemplateParser.ParseTheme Method (IDesignerHost, String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 static ControlBuilder ParseTheme(
	IDesignerHost host,
	string theme,
	string themePath
)

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: