DesignerAction Konstruktory

Definice

Inicializuje novou instanci DesignerAction třídy.

Přetížení

Name Description
DesignerAction(ActivityDesigner, Int32, String)

Inicializuje novou instanci DesignerAction třídy pomocí ActivityDesigner, celé číslo a řetězec.

DesignerAction(ActivityDesigner, Int32, String, Image)

Inicializuje novou instanci DesignerAction třídy pomocí ActivityDesigner, celé číslo, řetězec a .Image

DesignerAction(ActivityDesigner, Int32, String)

Inicializuje novou instanci DesignerAction třídy pomocí ActivityDesigner, celé číslo a řetězec.

public:
 DesignerAction(System::Workflow::ComponentModel::Design::ActivityDesigner ^ activityDesigner, int actionId, System::String ^ text);
public DesignerAction(System.Workflow.ComponentModel.Design.ActivityDesigner activityDesigner, int actionId, string text);
new System.Workflow.ComponentModel.Design.DesignerAction : System.Workflow.ComponentModel.Design.ActivityDesigner * int * string -> System.Workflow.ComponentModel.Design.DesignerAction
Public Sub New (activityDesigner As ActivityDesigner, actionId As Integer, text As String)

Parametry

activityDesigner
ActivityDesigner

Akce ActivityDesigner návrháře se provede.

actionId
Int32

Celočíselná hodnota, která představuje identifikátor DesignerAction.

text
String

Řetězec, který představuje text přidružený k akci návrháře.

Výjimky

activityDesigner obsahuje odkaz null (Nothing v Visual Basic).

text obsahuje odkaz null (Nothing) nebo jeho délka je 0.

Platí pro

DesignerAction(ActivityDesigner, Int32, String, Image)

Inicializuje novou instanci DesignerAction třídy pomocí ActivityDesigner, celé číslo, řetězec a .Image

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

Parametry

activityDesigner
ActivityDesigner

Zobrazí se ActivityDesigner akce návrháře.

actionId
Int32

Celočíselná hodnota, která představuje identifikátor DesignerAction.

text
String

Řetězec, který představuje text přidružený k akci návrháře.

image
Image

Přidružená Image k akci návrháře.

Výjimky

activityDesigner obsahuje odkaz null (Nothing v Visual Basic).

text obsahuje odkaz null (Nothing) nebo jeho délka je 0.

Platí pro