Konstruktor DiagramKeyPressEventArgs — (KeyPressEventArgs, DiagramClientView, DiagramItem)
Inicjuje nowe wystąpienie klasy DiagramKeyPressEventArgs.
Przestrzeń nazw: Microsoft.VisualStudio.Modeling.Diagrams
Zestaw: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Składnia
'Deklaracja
Public Sub New ( _
keyPressEventArgs As KeyPressEventArgs, _
diagramClientView As DiagramClientView, _
targetItem As DiagramItem _
)
public DiagramKeyPressEventArgs(
KeyPressEventArgs keyPressEventArgs,
DiagramClientView diagramClientView,
DiagramItem targetItem
)
Parametry
- keyPressEventArgs
Typ: System.Windows.Forms.KeyPressEventArgs
KeyPressEventArgs, używany do zainicjowania tego wystąpienia.
- diagramClientView
Typ: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
DiagramClientView, DiagramKeyPressEventArgs, pochodząca od.
- targetItem
Typ: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
DiagramItem klucza zdarzenia pierwotnie przeznaczony do docelowej.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Używanie bibliotek pochodzących z częściowo zaufanego kodu.
Zobacz też
Informacje
DiagramKeyPressEventArgs Klasa