Partilhar via


Método IVsExpansionManager.GetSnippetShortCutKeybindingState

Esta API oferece suporte à infraestrutura .NET Framework e não se destina a ser usada diretamente do seu código.

Determina se uma chave foi vinculada ao comando "Invocar trecho do atalho".

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

Sintaxe

'Declaração
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

Parâmetros

  • fBound
    Tipo: Int32%

    [out] Retorna diferente de zero (TRUE) se uma chave foi vinculada; Caso contrário, retorna zero (FALSE).

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De textmgr2.idl:

HRESULT GetSnippetShortCutKeybindingState(
   [out] BOOL *fBound
);

Isso é para uso interno somente por Visual Studio. Observe que o comando "Invocar trecho do atalho" não corresponde do IntelliSense Insert Snippet comando de menu.

Segurança do .NET Framework

Consulte também

Referência

IVsExpansionManager Interface

Namespace Microsoft.VisualStudio.TextManager.Interop