編輯

共用方式為


WdKey Enum

Definition

Specifies a keyboard character. Although uppercase and lowercase characters are designated by using different values in a character encoding map, they share a single constant in this enumeration.

public enum class WdKey
[System.Runtime.InteropServices.Guid("0641128D-0872-3E67-9991-E962AB36BAF2")]
public enum WdKey
type WdKey = 
Public Enum WdKey
Inheritance
WdKey
Attributes

Fields

Name Value Description
wdKeyBackspace 8

The BACKSPACE key.

wdKeyTab 9

The TAB key.

wdKeyNumeric5Special 12

.

wdKeyReturn 13

The ENTER or RETURN key.

wdKeyPause 19

The PAUSE key.

wdKeyEsc 27

The ESC key.

wdKeySpacebar 32

The SPACEBAR key.

wdKeyPageUp 33

The PAGE UP key.

wdKeyPageDown 34

The PAGE DOWN key.

wdKeyEnd 35

The END key.

wdKeyHome 36

The HOME key.

wdKeyInsert 45

The INSERT key.

wdKeyDelete 46

The DELETE key.

wdKey0 48

The 0 key.

wdKey1 49

The 1 key.

wdKey2 50

The 2 key.

wdKey3 51

The 3 key.

wdKey4 52

The 4 key.

wdKey5 53

The 5 key.

wdKey6 54

The 6 key.

wdKey7 55

The 7 key.

wdKey8 56

The 8 key.

wdKey9 57

The 9 key.

wdKeyA 65

The A key.

wdKeyB 66

The B key.

wdKeyC 67

The C key.

wdKeyD 68

The D key.

wdKeyE 69

The E key.

wdKeyF 70

The F key.

wdKeyG 71

The G key.

wdKeyH 72

The H key.

wdKeyI 73

The I key.

wdKeyJ 74

The J key.

wdKeyK 75

The K key.

wdKeyL 76

The L key.

wdKeyM 77

The M key.

wdKeyN 78

The N key.

wdKeyO 79

The O key.

wdKeyP 80

The P key.

wdKeyQ 81

The Q key.

wdKeyR 82

The R key.

wdKeyS 83

The S key.

wdKeyT 84

The T key.

wdKeyU 85

The U key.

wdKeyV 86

The V key.

wdKeyW 87

The W key.

wdKeyX 88

The X key.

wdKeyY 89

The Y key.

wdKeyZ 90

The Z key.

wdKeyNumeric0 96

The 0 key.

wdKeyNumeric1 97

The 1 key.

wdKeyNumeric2 98

The 2 key.

wdKeyNumeric3 99

The 3 key.

wdKeyNumeric4 100

The 4 key.

wdKeyNumeric5 101

The 5 key.

wdKeyNumeric6 102

The 6 key.

wdKeyNumeric7 103

The 7 key.

wdKeyNumeric8 104

The 8 key.

wdKeyNumeric9 105

The 9 key.

wdKeyNumericMultiply 106

The * key on the numeric keypad.

wdKeyNumericAdd 107

The + key on the numeric keypad.

wdKeyNumericSubtract 109

The - key on the numeric keypad.

wdKeyNumericDecimal 110

The . key on the numeric keypad.

wdKeyNumericDivide 111

The / key on the numeric keypad.

wdKeyF1 112

The F1 key.

wdKeyF2 113

The F2 key.

wdKeyF3 114

The F3 key.

wdKeyF4 115

The F4 key.

wdKeyF5 116

The F5 key.

wdKeyF6 117

The F6 key.

wdKeyF7 118

The F7 key.

wdKeyF8 119

The F8 key.

wdKeyF9 120

The F9 key.

wdKeyF10 121

The F10 key.

wdKeyF11 122

The F11 key.

wdKeyF12 123

The F12 key.

wdKeyF13 124

The F13 key.

wdKeyF14 125

The F14 key.

wdKeyF15 126

The F15 key.

wdKeyF16 127

The F16 key.

wdKeyScrollLock 145

The SCROLL LOCK key.

wdKeySemiColon 186

The ; key.

wdKeyEquals 187

The = key.

wdKeyComma 188

The , key.

wdKeyHyphen 189

The - key.

wdKeyPeriod 190

The . key.

wdKeySlash 191

The / key.

wdKeyBackSingleQuote 192

The ` key.

wdKeyOpenSquareBrace 219

The [ key.

wdKeyBackSlash 220

The \ key.

wdKeyCloseSquareBrace 221

The ] key.

wdKeySingleQuote 222

The ' key.

wdNoKey 255

No key.

wdKeyShift 256

The SHIFT key.

wdKeyCommand 512

The Windows command key or Macintosh COMMAND key.

wdKeyControl 512

The CTRL key.

wdKeyAlt 1024

The ALT key.

wdKeyOption 1024

The mouse option key or Macintosh OPTION key.

Applies to