DesignerView 建構函式

定義

初始化 DesignerView 類別的新執行個體。

多載

DesignerView(Int32, String, Image)

使用整數、字串和 來初始化 類別的新執行個體。

DesignerView(Int32, String, Image, ActivityDesigner)

使用整數、字串、DesignerViewImage 來初始化 ActivityDesigner 類別的新執行個體。

DesignerView(Int32, String, Image)

使用整數、字串和 來初始化 類別的新執行個體。

public:
 DesignerView(int viewId, System::String ^ text, System::Drawing::Image ^ image);
public DesignerView (int viewId, string text, System.Drawing.Image image);
new System.Workflow.ComponentModel.Design.DesignerView : int * string * System.Drawing.Image -> System.Workflow.ComponentModel.Design.DesignerView
Public Sub New (viewId As Integer, text As String, image As Image)

參數

viewId
Int32

設計工具檢視的整數識別項。

text
String

指定設計工具檢視名稱的字串。

image
Image

與設計工具檢視相關聯的 Image

例外狀況

包含 nullviewIdtext

適用於

DesignerView(Int32, String, Image, ActivityDesigner)

使用整數、字串、DesignerViewImage 來初始化 ActivityDesigner 類別的新執行個體。

public:
 DesignerView(int viewId, System::String ^ text, System::Drawing::Image ^ image, System::Workflow::ComponentModel::Design::ActivityDesigner ^ associatedDesigner);
public DesignerView (int viewId, string text, System.Drawing.Image image, System.Workflow.ComponentModel.Design.ActivityDesigner associatedDesigner);
new System.Workflow.ComponentModel.Design.DesignerView : int * string * System.Drawing.Image * System.Workflow.ComponentModel.Design.ActivityDesigner -> System.Workflow.ComponentModel.Design.DesignerView
Public Sub New (viewId As Integer, text As String, image As Image, associatedDesigner As ActivityDesigner)

參數

viewId
Int32

設計工具檢視的整數識別項。

text
String

指定設計工具檢視名稱的字串。

image
Image

與設計工具檢視相關聯的 Image

associatedDesigner
ActivityDesigner

與設計工具檢視相關聯的 ActivityDesigner

例外狀況

、 或包含 的 。

適用於