WorkflowTheme.Load 方法

定義

載入 WorkflowThemeLoads a WorkflowTheme.

多載

Load(IDesignerSerializationManager, String)

使用序列化管理員從指定的路徑載入新主題。Loads a new theme from the specified path using a serialization manager.

Load(String)

從指定的檔案路徑載入主題。Loads the theme from the specified file path.

Load(IDesignerSerializationManager, String)

使用序列化管理員從指定的路徑載入新主題。Loads a new theme from the specified path using a serialization manager.

public:
 static System::Workflow::ComponentModel::Design::WorkflowTheme ^ Load(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ serializationManager, System::String ^ themeFilePath);
public static System.Workflow.ComponentModel.Design.WorkflowTheme Load (System.ComponentModel.Design.Serialization.IDesignerSerializationManager serializationManager, string themeFilePath);
static member Load : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * string -> System.Workflow.ComponentModel.Design.WorkflowTheme
Public Shared Function Load (serializationManager As IDesignerSerializationManager, themeFilePath As String) As WorkflowTheme

參數

serializationManager
IDesignerSerializationManager

要用來載入主題的序列化管理員。The serialization manager to use to load the theme.

themeFilePath
String

要從中載入主題的檔案路徑。The file path from which to load the theme.

傳回

使用指定之序列化管理員從指定檔案路徑載入的新 WorkflowThemeA new WorkflowTheme loaded from the file path specified using the serialization manager specified.

備註

如果您的主題需要自訂序列化,請使用這個方法,利用自訂的序列化管理員來載入您的方法。If your theme requires custom serialization, use this method to load your method using your custom serialization manager.

Load(String)

從指定的檔案路徑載入主題。Loads the theme from the specified file path.

public:
 static System::Workflow::ComponentModel::Design::WorkflowTheme ^ Load(System::String ^ themeFilePath);
public static System.Workflow.ComponentModel.Design.WorkflowTheme Load (string themeFilePath);
static member Load : string -> System.Workflow.ComponentModel.Design.WorkflowTheme
Public Shared Function Load (themeFilePath As String) As WorkflowTheme

參數

themeFilePath
String

佈景主題的檔案路徑。The file path of the theme.

傳回

從指定之檔案名稱載入的新 WorkflowThemeA new WorkflowTheme loaded from the filename specified.

適用於