ShapeElement.IsNavigationKey Method (Keys)
Verifies whether the key data is used as a navigational command.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Protected Overridable Function IsNavigationKey ( _
keyData As Keys _
) As Boolean
protected virtual bool IsNavigationKey(
Keys keyData
)
protected:
virtual bool IsNavigationKey(
Keys keyData
)
abstract IsNavigationKey :
keyData:Keys -> bool
override IsNavigationKey :
keyData:Keys -> bool
protected function IsNavigationKey(
keyData : Keys
) : boolean
Parameters
- keyData
Type: System.Windows.Forms.Keys
The key data.
Return Value
Type: System.Boolean
true if the key data is a navigational command; otherwise, false.
.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.