DiagramClientView.CanTranslateToCommand Method
Returns a value indicating whether the key translates to a command.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
'Declaration
Public Overridable Function CanTranslateToCommand ( _
keyData As Keys _
) As Boolean
public virtual bool CanTranslateToCommand(
Keys keyData
)
public:
virtual bool CanTranslateToCommand(
Keys keyData
)
abstract CanTranslateToCommand :
keyData:Keys -> bool
override CanTranslateToCommand :
keyData:Keys -> bool
public function CanTranslateToCommand(
keyData : Keys
) : boolean
- keyData
Type: System.Windows.Forms.Keys
Type: System.Boolean
- 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.