WEKF_Scancode.Remove

這個方法會移除自訂掃描碼按鍵組合,導致鍵盤篩選停止封鎖移除的組合。

語法

[Static] uint32 Remove(
    [In] string Modifiers,
    [In] uint16 Scancode
);

參數

修飾 符
要移除之組合的修飾詞索引鍵。

Scancode
要移除之組合的掃描碼。

傳回值

傳回 HRESULT 值,指出 WMI 非錯誤常數WMI 錯誤常數

備註

WEKF_Scancode.Remove 會 移除現有的 WEKF_Scancode 物件。 如果物件不存在, WEKF_Scancode.Remove 會傳回值0x8007007B的錯誤。

因為此方法是靜態的,所以您無法在物件實例上呼叫它,但必須改為在類別層級呼叫它。

規格需求

Windows 版本 支援
Windows 首頁 No
Windows 專業版
Windows 企業版
Windows 教育版
Windows IoT 企業版 是的