共用方式為


KeyboardEventArgs.Key 屬性

定義

事件所表示之索引鍵的索引鍵值。 如果值具有列印的標記法,則此屬性的值與 char 屬性相同。 否則,它是 'Key values' 中指定的其中一個索引鍵值字串。 如果無法識別索引鍵,這是字串 「Unidentified」

public:
 property System::String ^ Key { System::String ^ get(); void set(System::String ^ value); };
public string Key { get; set; }
member this.Key : string with get, set
Public Property Key As String

屬性值

適用於