Rediger

Del via


DesignerView Constructors

Definition

Initializes a new instance of the DesignerView class.

Overloads

DesignerView(Int32, String, Image)

Initializes a new instance of the DesignerView class by using an integer, a string, and an Image.

DesignerView(Int32, String, Image, ActivityDesigner)

Initializes a new instance of the DesignerView class by using an integer, a string, an Image, and an ActivityDesigner.

DesignerView(Int32, String, Image)

Initializes a new instance of the DesignerView class by using an integer, a string, and an 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)

Parameters

viewId
Int32

The integer identifier for the designer view.

text
String

The string that specifies the name of the designer view.

image
Image

The Image associated with the designer view.

Exceptions

viewId or text contains null.

Applies to

DesignerView(Int32, String, Image, ActivityDesigner)

Initializes a new instance of the DesignerView class by using an integer, a string, an Image, and an 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)

Parameters

viewId
Int32

The integer identifier for the designer view.

text
String

The string that specifies the name of the designer view.

image
Image

The Image associated with the designer view.

associatedDesigner
ActivityDesigner

The ActivityDesigner associated with the designer view.

Exceptions

viewId, text, or associatedDesigner contains null.

Applies to