IVsExpansionManager.GetSnippetShortCutKeybindingState(Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si une clé a été liée à la commande « Appeler un extrait à partir du raccourci ».
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
Paramètres
- fBound
- Int32
à Retourne une valeur différente de zéro (TRUE) si une clé a été liée ; Sinon, retourne la valeur zéro (FALSe).
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de textmgr2. idl :
HRESULT GetSnippetShortCutKeybindingState(
[out] BOOL *fBound
);
Il s’agit d’un usage interne uniquement par Visual Studio . Notez que la commande « appeler l’extrait à partir d’un raccourci » ne correspond pas à la commande de menu Insérer un extrait de code IntelliSense.