DesignTimeTemplateParser.ParseTheme(IDesignerHost, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.