Compartir a través de


ViewFilter.OnAfterSnippetsKeyBindingChange Method

Called after there has been a change in the key binding for the Invoke Snippet From Shortcut command.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Declaration
Public Overridable Function OnAfterSnippetsKeyBindingChange ( _
    dwCmdGuid As UInteger, _
    dwCmdId As UInteger, _
    fBound As Integer _
) As Integer
public virtual int OnAfterSnippetsKeyBindingChange(
    uint dwCmdGuid,
    uint dwCmdId,
    int fBound
)
public:
virtual int OnAfterSnippetsKeyBindingChange(
    unsigned int dwCmdGuid, 
    unsigned int dwCmdId, 
    int fBound
)
abstract OnAfterSnippetsKeyBindingChange : 
        dwCmdGuid:uint32 * 
        dwCmdId:uint32 * 
        fBound:int -> int  
override OnAfterSnippetsKeyBindingChange : 
        dwCmdGuid:uint32 * 
        dwCmdId:uint32 * 
        fBound:int -> int
public function OnAfterSnippetsKeyBindingChange(
    dwCmdGuid : uint, 
    dwCmdId : uint, 
    fBound : int
) : int

Parameters

  • dwCmdGuid
    Type: UInt32

    The GUID of the command group to which the command belongs.

  • dwCmdId
    Type: UInt32

    The command ID.

  • fBound
    Type: Int32

    true if a key binding was added, false if it was removed.

Return Value

Type: Int32
S_OK if the method succeeded, otherwise an error code.

Implements

IVsExpansionEvents.OnAfterSnippetsKeyBindingChange(UInt32, UInt32, Int32)

Remarks

This is an implementation of the OnAfterSnippetsKeyBindingChange method.

.NET Framework Security

See Also

Reference

ViewFilter Class

Microsoft.VisualStudio.Package Namespace