DesignerAction Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DesignerAction class.
Overloads
DesignerAction(ActivityDesigner, Int32, String) |
Initializes a new instance of the DesignerAction class by using an ActivityDesigner, an integer, and a string. |
DesignerAction(ActivityDesigner, Int32, String, Image) |
Initializes a new instance of the DesignerAction class by using ActivityDesigner, an integer, a string, and an Image. |
DesignerAction(ActivityDesigner, Int32, String)
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)
Parameters
- activityDesigner
- ActivityDesigner
The ActivityDesigner on which the designer action is taken.
- actionId
- Int32
An integer value that represents the identifier of the DesignerAction.
- text
- String
A string that represents the text associated with the designer action.
Exceptions
activityDesigner
contains a null reference (Nothing
in Visual Basic).
text
contains a null reference (Nothing
) or its length is 0.
Applies to
DesignerAction(ActivityDesigner, Int32, String, 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)
Parameters
- activityDesigner
- ActivityDesigner
The ActivityDesigner on which the designer action is to appear.
- actionId
- Int32
An integer value that represents the identifier of the DesignerAction.
- text
- String
A string that represents the text associated with the designer action.
Exceptions
activityDesigner
contains a null reference (Nothing
in Visual Basic).
text
contains a null reference (Nothing
) or its length is 0.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기