Partager via


IVsExpansionManager.GetSnippetShortCutKeybindingState(Int32) Method

Definition

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

public:
 int GetSnippetShortCutKeybindingState([Runtime::InteropServices::Out] int % fBound);
int GetSnippetShortCutKeybindingState([Runtime::InteropServices::Out] int & fBound);
public int GetSnippetShortCutKeybindingState (out int fBound);
abstract member GetSnippetShortCutKeybindingState : int -> int
Public Function GetSnippetShortCutKeybindingState (ByRef fBound As Integer) As Integer

Parameters

fBound
Int32

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

Returns

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.

Applies to