Condividi tramite


VsExpansionPackageClass.GetSnippetShortCutKeybindingState Method

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

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

Syntax

'Declaration
Public Overridable Function GetSnippetShortCutKeybindingState ( _
    <OutAttribute> ByRef fBound As Integer _
) As Integer
public virtual int GetSnippetShortCutKeybindingState(
    out int fBound
)
public:
virtual int GetSnippetShortCutKeybindingState(
    [OutAttribute] int% fBound
)
abstract GetSnippetShortCutKeybindingState : 
        fBound:int byref -> int  
override GetSnippetShortCutKeybindingState : 
        fBound:int byref -> int
public function GetSnippetShortCutKeybindingState(
    fBound : int
) : int

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.

Implements

IVsExpansionManager.GetSnippetShortCutKeybindingState(Int32%)

.NET Framework Security

See Also

Reference

VsExpansionPackageClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace