共用方式為


DiagramKeyEventArgs Constructor (KeyEventArgs, DiagramClientView, DiagramItem)

Initializes a new instance of the DiagramKeyEventArgs class.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Sub New ( _
    keyEventArgs As KeyEventArgs, _
    diagramClientView As DiagramClientView, _
    targetItem As DiagramItem _
)
public DiagramKeyEventArgs(
    KeyEventArgs keyEventArgs,
    DiagramClientView diagramClientView,
    DiagramItem targetItem
)
public:
DiagramKeyEventArgs(
    KeyEventArgs^ keyEventArgs, 
    DiagramClientView^ diagramClientView, 
    DiagramItem^ targetItem
)
new : 
        keyEventArgs:KeyEventArgs * 
        diagramClientView:DiagramClientView * 
        targetItem:DiagramItem -> DiagramKeyEventArgs
public function DiagramKeyEventArgs(
    keyEventArgs : KeyEventArgs, 
    diagramClientView : DiagramClientView, 
    targetItem : DiagramItem
)

Parameters

.NET Framework Security

See Also

Reference

DiagramKeyEventArgs Class

DiagramKeyEventArgs Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace