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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
‘선언
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.