Aracılığıyla paylaş


DesignTimeTemplateParser.ParseTheme(IDesignerHost, String, String) Yöntem

Tanım

Bir temayı tasarım zamanında ayrıştırma.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

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

Parametreler

host
IDesignerHost

Tasarımcı bileşenlerini yönetir.

theme
String

Ayrıştıracak içerik.

themePath
String

Ayrıştırıcıyı oluştururken kullanılan temanın yolu.

Döndürülenler

Temayı RootBuilder ayrıştıran ayrıştırıcıdan gelen.

Özel durumlar

Tema ayrıştırılırken bir hata oluştu.

Şunlara uygulanır

Ayrıca bkz.