IVsExpansionManager.GetSnippetShortCutKeybindingState Method (Int32)

 

This API supports the product 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)

int GetSnippetShortCutKeybindingState(
	out int fBound
)

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.

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.

Return to top
Show: