Delen via


ImageField Constructor (String, Image)

Initializes a new instance of the ImageField class.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    fieldName As String, _
    image As Image _
)
public ImageField(
    string fieldName,
    Image image
)
public:
ImageField(
    String^ fieldName, 
    Image^ image
)
new : 
        fieldName:string * 
        image:Image -> ImageField
public function ImageField(
    fieldName : String, 
    image : Image
)

Parameters

  • fieldName
    Type: System.String

    Unique identifier for this ShapeField.

.NET Framework Security

See Also

Reference

ImageField Class

ImageField Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace