Condividi tramite


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, utilizzato per creare il parser.

Restituisce

ControlBuilder

Oggetto RootBuilder proveniente dal parser che ha analizzato il tema.

Eccezioni

Si è verificato un errore durante l'analisi del tema.

Si applica a

Vedi anche