Initializes a new instance of the ImageField class.
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
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.
- image
 Type: System.Drawing.Image
 Default image to display
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.