語言

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

主題的路徑,用於建立解析器。

傳回

那是 RootBuilder 解析主題的解析器。

例外狀況

在解析主題時發生了錯誤。

適用於

另請參閱