共用方式為


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

  • 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

See Also

Reference

ProvideKeyBindingTableAttribute Class

ProvideKeyBindingTableAttribute Members

Microsoft.VisualStudio.Shell Namespace