ProvideKeyBindingTableAttribute Constructor
Initializes a new instance of ProvideKeyBindingTableAttribute for the specified table and name resource ID.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣告
Public Sub New ( _
tableGuid As String, _
nameResourceID As Short _
)
'用途
Dim tableGuid As String
Dim nameResourceID As Short
Dim instance As New ProvideKeyBindingTableAttribute(tableGuid, _
nameResourceID)
public ProvideKeyBindingTableAttribute(
string tableGuid,
short nameResourceID
)
public:
ProvideKeyBindingTableAttribute(
String^ tableGuid,
short nameResourceID
)
new :
tableGuid:string *
nameResourceID:int16 -> ProvideKeyBindingTableAttribute
public function ProvideKeyBindingTableAttribute(
tableGuid : String,
nameResourceID : short
)
Parameters
- tableGuid
Type: System.String
The GUID of the key binding table in the Command Table Configuration (.Ctc) Files.
- nameResourceID
Type: System.Int16
The resource ID in the unmanaged resource file that contains the localized name of the key binding table.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ProvideKeyBindingTableAttribute Class