共用方式為


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

Return Value

Type: System.Boolean
true if the key data is a navigational command; otherwise, false.

.NET Framework Security

See Also

Reference

ShapeElement Class

IsNavigationKey Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace