Called after there has been a change in the key binding for the Invoke Snippet From Shortcut command.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Overridable Function OnAfterSnippetsKeyBindingChange ( _
dwCmdGuid As UInteger, _
dwCmdId As UInteger, _
fBound As Integer _
) As Integer
'Usage
Dim instance As ViewFilter
Dim dwCmdGuid As UInteger
Dim dwCmdId As UInteger
Dim fBound As Integer
Dim returnValue As Integer
returnValue = instance.OnAfterSnippetsKeyBindingChange(dwCmdGuid, _
dwCmdId, fBound)
public virtual int OnAfterSnippetsKeyBindingChange(
uint dwCmdGuid,
uint dwCmdId,
int fBound
)
public:
virtual int OnAfterSnippetsKeyBindingChange(
unsigned int dwCmdGuid,
unsigned int dwCmdId,
int fBound
)
public function OnAfterSnippetsKeyBindingChange(
dwCmdGuid : uint,
dwCmdId : uint,
fBound : int
) : int
Parameters
dwCmdGuid
Type: System.UInt32The GUID of the command group to which the command belongs.
dwCmdId
Type: System.UInt32The command ID.
fBound
Type: System.Int32true if a key binding was added, false if it was removed.
Return Value
Type: System.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
- 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.