Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Sub OnKeyPress ( _
e As DiagramKeyPressEventArgs _
)
'使用
Dim instance As ShapeSubField
Dim e As DiagramKeyPressEventArgs
instance.OnKeyPress(e)
public virtual void OnKeyPress(
DiagramKeyPressEventArgs e
)
public:
virtual void OnKeyPress(
DiagramKeyPressEventArgs^ e
)
public function OnKeyPress(
e : DiagramKeyPressEventArgs
)
Parameters
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.