Delen via


IVsExpansionManager.GetSnippetShortCutKeybindingState Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Determines if a key has been bound to the "Invoke Snippet From Shortcut" command.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
Function GetSnippetShortCutKeybindingState ( _
    <OutAttribute> ByRef fBound As Integer _
) As Integer
int GetSnippetShortCutKeybindingState(
    out int fBound
)
int GetSnippetShortCutKeybindingState(
    [OutAttribute] int% fBound
)
abstract GetSnippetShortCutKeybindingState : 
        fBound:int byref -> int
function GetSnippetShortCutKeybindingState(
    fBound : int
) : int

Parameters

  • fBound
    Type: System.Int32%

    [out] Returns non-zero (TRUE) if a key has been bound; otherwise, returns zero (FALSE).

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr2.idl:

HRESULT GetSnippetShortCutKeybindingState(
   [out] BOOL *fBound
);

This is for internal use only by Visual Studio. Note that the "Invoke Snippet From ShortCut" command does not correspond to the IntelliSense Insert Snippet menu command.

.NET Framework Security

See Also

Reference

IVsExpansionManager Interface

Microsoft.VisualStudio.TextManager.Interop Namespace