Share via


ImageField Constructors

Definition

Overloads

ImageField(String)

Initializes a new instance of the ImageField class.

ImageField(String, Image)

Initializes a new instance of the ImageField class.

ImageField(String)

Initializes a new instance of the ImageField class.

public:
 ImageField(System::String ^ fieldName);
public ImageField (string fieldName);
new Microsoft.VisualStudio.Modeling.Diagrams.ImageField : string -> Microsoft.VisualStudio.Modeling.Diagrams.ImageField
Public Sub New (fieldName As String)

Parameters

fieldName
String

Unique identifier for this ShapeField.

Applies to

ImageField(String, Image)

Initializes a new instance of the ImageField class.

public:
 ImageField(System::String ^ fieldName, System::Drawing::Image ^ image);
public ImageField (string fieldName, System.Drawing.Image image);
new Microsoft.VisualStudio.Modeling.Diagrams.ImageField : string * System.Drawing.Image -> Microsoft.VisualStudio.Modeling.Diagrams.ImageField
Public Sub New (fieldName As String, image As Image)

Parameters

fieldName
String

Unique identifier for this ShapeField.

image
Image

Default image to display

Applies to