แก้ไข

แชร์ผ่าน


WorkflowTheme.Load Method

Definition

Loads a WorkflowTheme.

Overloads

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

Parameters

serializationManager
IDesignerSerializationManager

The serialization manager to use to load the theme.

themeFilePath
String

The file path from which to load the theme.

Returns

A new WorkflowTheme loaded from the file path specified using the serialization manager specified.

Remarks

If your theme requires custom serialization, use this method to load your method using your custom serialization manager.

Applies to

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

Parameters

themeFilePath
String

The file path of the theme.

Returns

A new WorkflowTheme loaded from the filename specified.

Applies to