DesignTimeTemplateParser.ParseTheme(IDesignerHost, String, String) Metodo

Definizione

Analizza un tema in fase di progettazione.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

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

Parametri

host
IDesignerHost

Gestisce i componenti della finestra di progettazione.

theme
String

Contenuto da analizzare.

themePath
String

Percorso del tema, usato per la creazione del parser.

Valori restituiti

Oggetto RootBuilder del parser che ha analizzato il tema.

Eccezioni

Errore durante l'analisi del tema.

Si applica a

Vedi anche