Dela via


ProvideKeyBindingTableAttribute Constructor

Initializes a new instance of ProvideKeyBindingTableAttribute for the specified table and name resource ID.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    tableGuid As String, _
    nameResourceID As Short _
)
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: String

    The GUID of the key binding table in the Command Table Configuration (.ctc) File.

  • nameResourceID
    Type: 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

Microsoft.VisualStudio.Shell Namespace