IVsExpansionManager.GetSnippetShortCutKeybindingState, méthode

Cette API prend en charge l'infrastructure .NET Framework et n'est pas destinée à être utilisée directement à partir de votre code.

Détermine si une clé a été liée « appellent l'extrait de code à la commande de raccourci ».

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop.8.0 (dans Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntaxe

'Déclaration
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

Paramètres

  • fBound
    Type : Int32%

    [] retourne non nul (TRUE) si une clé a été liée ; sinon, retours zéro (FALSE).

Valeur de retour

Type : Int32
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

Signature de COM

De textmgr2.idl :

HRESULT GetSnippetShortCutKeybindingState(
   [out] BOOL *fBound
);

Ce sert l'usage interne uniquement par Visual Studio. Notez que « appelez l'extrait de code la commande de raccourci » ne correspond pas à la commande de menu d'Intellisense Insérer un extrait.

Sécurité .NET Framework

Voir aussi

Référence

IVsExpansionManager Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms