Compartilhar via


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

'Declaração
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

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace