共用方式為


DiagramItemEventHandler Delegate

Delegate for handling diagram item events.

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 Sub DiagramItemEventHandler ( _
    sender As Object, _
    e As DiagramItemEventArgs _
)
public delegate void DiagramItemEventHandler(
    Object sender,
    DiagramItemEventArgs e
)
public delegate void DiagramItemEventHandler(
    Object^ sender, 
    DiagramItemEventArgs^ e
)
type DiagramItemEventHandler = 
    delegate of 
        sender:Object * 
        e:DiagramItemEventArgs -> unit
JScript does not support delegates.

Parameters

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace