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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.