WorkflowTheme.Load 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
載入一個 WorkflowTheme.
多載
| 名稱 | Description |
|---|---|
| Load(IDesignerSerializationManager, String) |
使用序列化管理器從指定路徑載入新主題。 |
| Load(String) |
從指定的檔案路徑載入主題。 |
Load(IDesignerSerializationManager, String)
使用序列化管理器從指定路徑載入新主題。
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
序列化管理器用來載入主題。
- themeFilePath
- String
載入主題的檔案路徑。
傳回
從序列化管理器指定的檔案路徑載入新檔案 WorkflowTheme 。
備註
如果你的主題需要自訂序列化,請用這個方法用自訂序列化管理器載入你的方法。
適用於
Load(String)
從指定的檔案路徑載入主題。
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
主題的檔案路徑。
傳回
從 WorkflowTheme 指定的檔名載入新檔。