Partager via


VsExpansionPackage Interface

Represents the expansion manager, which knows how to find and display lists of code snippets for a particular coding language.

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

Syntax

'Déclaration
<GuidAttribute("CA09E5EA-FEE7-4B52-AFE6-8EA2EC53F681")> _
Public Interface VsExpansionPackage _
    Inherits IVsExpansionManager
[GuidAttribute("CA09E5EA-FEE7-4B52-AFE6-8EA2EC53F681")]
public interface VsExpansionPackage : IVsExpansionManager
[GuidAttribute(L"CA09E5EA-FEE7-4B52-AFE6-8EA2EC53F681")]
public interface class VsExpansionPackage : IVsExpansionManager
[<GuidAttribute("CA09E5EA-FEE7-4B52-AFE6-8EA2EC53F681")>]
type VsExpansionPackage =  
    interface
        interface IVsExpansionManager
    end
public interface VsExpansionPackage extends IVsExpansionManager

The VsExpansionPackage type exposes the following members.

Methods

  Name Description
Public method EnumerateExpansions Retrieves a list of code snippets for the specified coding language. (Inherited from IVsExpansionManager.)
Public method GetExpansionByShortcut Retrieves the title and path to a snippet given its shortcut name. (Inherited from IVsExpansionManager.)
Public method GetSnippetShortCutKeybindingState Infrastructure. Determines if a key has been bound to the "Invoke Snippet From Shortcut" command. (Inherited from IVsExpansionManager.)
Public method GetTokenPath Returns the path to the specified location. (Inherited from IVsExpansionManager.)
Public method InvokeInsertionUI Shows an IntelliSense list of code snippets that can be inserted into the source through the provided IVsExpansionClient object. (Inherited from IVsExpansionManager.)

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace