共用方式為


DiagramKeyEventHandler Delegate

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

Parameters

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace