共用方式為


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

Return Value

Type: System.Drawing.Image

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace