ProvideKeyBindingTableAttribute(String, Int16) 构造函数

定义

ProvideKeyBindingTableAttribute为指定的表和名称资源 ID 初始化的新实例。

public:
 ProvideKeyBindingTableAttribute(System::String ^ tableGuid, short nameResourceID);
public:
 ProvideKeyBindingTableAttribute(Platform::String ^ tableGuid, short nameResourceID);
 ProvideKeyBindingTableAttribute(std::wstring const & tableGuid, short nameResourceID);
public ProvideKeyBindingTableAttribute (string tableGuid, short nameResourceID);
new Microsoft.VisualStudio.Shell.ProvideKeyBindingTableAttribute : string * int16 -> Microsoft.VisualStudio.Shell.ProvideKeyBindingTableAttribute
Public Sub New (tableGuid As String, nameResourceID As Short)

参数

tableGuid
String

命令表配置中的键绑定表的 GUID ( .ctc) 文件中。

nameResourceID
Int16

非托管资源文件中的资源 ID,其中包含键绑定表的本地化名称。

适用于