DisplayImageGetter Delegate
Delegate to get the image to show for a compartment list item
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Public Delegate Function DisplayImageGetter ( _
element As ModelElement _
) As Image
public delegate Image DisplayImageGetter(
ModelElement element
)
public delegate Image^ DisplayImageGetter(
ModelElement^ element
)
type DisplayImageGetter =
delegate of
element:ModelElement -> Image
JScript does not support delegates.
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
Return Value
Type: System.Drawing.Image