DesignTimeTemplateParser.ParseTheme(IDesignerHost, String, String) 方法

定義

在設計階段剖析佈景主題。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

host
IDesignerHost

管理設計工具元件。

theme
String

要剖析的內容。

themePath
String

建立剖析器時所使用之佈景主題的路徑。

傳回

ControlBuilder

已剖析佈景主題之剖析器的 RootBuilder

例外狀況

剖析佈景主題時發生錯誤。

適用於

另請參閱