HotKeyManegerRegHotKey(HotKeyManegerCHotKeyDelegateHotKey, String, HotKeyManegerCHotKey, Object) 方法
命名空间: Excel880VSTO程序集: Excel880VSTO (在 Excel880VSTO.dll 中) 版本:1.5.8.0 (1.5.8.0)
public static HotKeyManegerCHotKey RegHotKey(
DelegateHotKey Callback,
string Name,
HotKeyManegerCHotKey hotkey,
Object tag = null
)
Public Shared Function RegHotKey (
Callback As DelegateHotKey,
Name As String,
hotkey As HotKeyManegerCHotKey,
Optional tag As Object = Nothing
) As HotKeyManegerCHotKey
Dim Callback As DelegateHotKey
Dim Name As String
Dim hotkey As HotKeyManegerCHotKey
Dim tag As Object
Dim returnValue As HotKeyManegerCHotKey
returnValue = HotKeyManeger.RegHotKey(Callback,
Name, hotkey, tag)
- Callback DelegateHotKey
-
- Name String
-
- hotkey HotKeyManegerCHotKey
-
- tag Object (Optional)
-
HotKeyManegerCHotKey