DiagramClientView.TranslateToCommand Method
Invokes a command
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Overridable Sub TranslateToCommand ( _
keyArgs As DiagramKeyEventArgs _
)
public virtual void TranslateToCommand(
DiagramKeyEventArgs keyArgs
)
public:
virtual void TranslateToCommand(
DiagramKeyEventArgs^ keyArgs
)
abstract TranslateToCommand :
keyArgs:DiagramKeyEventArgs -> unit
override TranslateToCommand :
keyArgs:DiagramKeyEventArgs -> unit
public function TranslateToCommand(
keyArgs : DiagramKeyEventArgs
)
Parameters
- keyArgs
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyEventArgs
A DiagramKeyEventArgs that contains event data.
.NET Framework Security
- 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.