共用方式為


DiagramMouseEventHandler Delegate

Delegate for handling mouse 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 DiagramMouseEventHandler ( _
    sender As Object, _
    e As DiagramMouseEventArgs _
)
public delegate void DiagramMouseEventHandler(
    Object sender,
    DiagramMouseEventArgs e
)
public delegate void DiagramMouseEventHandler(
    Object^ sender, 
    DiagramMouseEventArgs^ e
)
type DiagramMouseEventHandler = 
    delegate of 
        sender:Object * 
        e:DiagramMouseEventArgs -> unit
JScript does not support delegates.

Parameters

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace