Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a value indicating whether the key translates to 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 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
Parameters
- keyData
 Type: System.Windows.Forms.Keys
Return Value
Type: System.Boolean
.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.