共用方式為


DiagramKeyEventArgs.Shift Property

Gets a value indicating whether the SHIFT key was pressed.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public ReadOnly Property Shift As Boolean
    Get
public bool Shift { get; }
public:
property bool Shift {
    bool get ();
}
member Shift : bool
function get Shift () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

DiagramKeyEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace