DesignerAction Construtores

Definição

Inicializa uma nova instância da classe DesignerAction.Initializes a new instance of the DesignerAction class.

Sobrecargas

DesignerAction(ActivityDesigner, Int32, String)

Inicializa uma nova instância da classe DesignerAction usando um ActivityDesigner, um inteiro e uma cadeia de caracteres.Initializes a new instance of the DesignerAction class by using an ActivityDesigner, an integer, and a string.

DesignerAction(ActivityDesigner, Int32, String, Image)

Inicializa uma nova instância da classe DesignerAction usando um ActivityDesigner, um inteiro, uma cadeia de caracteres e um Image.Initializes a new instance of the DesignerAction class by using ActivityDesigner, an integer, a string, and an Image.

DesignerAction(ActivityDesigner, Int32, String)

Inicializa uma nova instância da classe DesignerAction usando um ActivityDesigner, um inteiro e uma cadeia de caracteres.Initializes a new instance of the DesignerAction class by using an ActivityDesigner, an integer, and a string.

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)

Parâmetros

activityDesigner
ActivityDesigner

O ActivityDesigner no qual a ação designer é realizada.The ActivityDesigner on which the designer action is taken.

actionId
Int32

Um valor inteiro que representa o identificador do DesignerAction.An integer value that represents the identifier of the DesignerAction.

text
String

Uma cadeia de caracteres que representa o texto associado à ação do designer.A string that represents the text associated with the designer action.

Exceções

activityDesigner contém uma referência nula (Nothing no Visual Basic).activityDesigner contains a null reference (Nothing in Visual Basic).

text contém uma referência nula (Nothing) ou seu tamanho é 0.text contains a null reference (Nothing) or its length is 0.

Aplica-se a

DesignerAction(ActivityDesigner, Int32, String, Image)

Inicializa uma nova instância da classe DesignerAction usando um ActivityDesigner, um inteiro, uma cadeia de caracteres e um Image.Initializes a new instance of the DesignerAction class by using ActivityDesigner, an integer, a string, and an 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)

Parâmetros

activityDesigner
ActivityDesigner

O ActivityDesigner no qual a ação designer deve aparecer.The ActivityDesigner on which the designer action is to appear.

actionId
Int32

Um valor inteiro que representa o identificador do DesignerAction.An integer value that represents the identifier of the DesignerAction.

text
String

Uma cadeia de caracteres que representa o texto associado à ação do designer.A string that represents the text associated with the designer action.

image
Image

O Image a ser associado à ação de designer.The Image to be associated with the designer action.

Exceções

activityDesigner contém uma referência nula (Nothing no Visual Basic).activityDesigner contains a null reference (Nothing in Visual Basic).

text contém uma referência nula (Nothing) ou seu tamanho é 0.text contains a null reference (Nothing) or its length is 0.

Aplica-se a