Compartilhar via


DiagramKeyPressEventArgs Constructor (KeyPressEventArgs, DiagramClientView, DiagramItem)

Initializes a new instance of the DiagramKeyPressEventArgs class.

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

Syntax

'Declaração
Public Sub New ( _
    keyPressEventArgs As KeyPressEventArgs, _
    diagramClientView As DiagramClientView, _
    targetItem As DiagramItem _
)
public DiagramKeyPressEventArgs(
    KeyPressEventArgs keyPressEventArgs,
    DiagramClientView diagramClientView,
    DiagramItem targetItem
)
public:
DiagramKeyPressEventArgs(
    KeyPressEventArgs^ keyPressEventArgs, 
    DiagramClientView^ diagramClientView, 
    DiagramItem^ targetItem
)
new : 
        keyPressEventArgs:KeyPressEventArgs * 
        diagramClientView:DiagramClientView * 
        targetItem:DiagramItem -> DiagramKeyPressEventArgs
public function DiagramKeyPressEventArgs(
    keyPressEventArgs : KeyPressEventArgs, 
    diagramClientView : DiagramClientView, 
    targetItem : DiagramItem
)

Parameters

.NET Framework Security

See Also

Reference

DiagramKeyPressEventArgs Class

DiagramKeyPressEventArgs Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace