Partager via


VsExpansionPackage Interface

Definition

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

public interface class VsExpansionPackage : Microsoft::VisualStudio::TextManager::Interop::IVsExpansionManager
public interface class VsExpansionPackage : Microsoft::VisualStudio::TextManager::Interop::IVsExpansionManager
__interface VsExpansionPackage : Microsoft::VisualStudio::TextManager::Interop::IVsExpansionManager
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsExpansionPackageClass))]
[System.Runtime.InteropServices.Guid("CA09E5EA-FEE7-4B52-AFE6-8EA2EC53F681")]
public interface VsExpansionPackage : Microsoft.VisualStudio.TextManager.Interop.IVsExpansionManager
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsExpansionPackageClass))]
[System.Runtime.InteropServices.Guid("CA09E5EA-FEE7-4B52-AFE6-8EA2EC53F681")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface VsExpansionPackage : Microsoft.VisualStudio.TextManager.Interop.IVsExpansionManager
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsExpansionPackageClass))>]
[<System.Runtime.InteropServices.Guid("CA09E5EA-FEE7-4B52-AFE6-8EA2EC53F681")>]
type VsExpansionPackage = interface
    interface IVsExpansionManager
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsExpansionPackageClass))>]
[<System.Runtime.InteropServices.Guid("CA09E5EA-FEE7-4B52-AFE6-8EA2EC53F681")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type VsExpansionPackage = interface
    interface IVsExpansionManager
Public Interface VsExpansionPackage
Implements IVsExpansionManager
Derived
Attributes
Implements

Methods

EnumerateExpansions(Guid, Int32, String[], Int32, Int32, Int32, IVsExpansionEnumeration)

Retrieves a list of code snippets for the specified coding language.

(Inherited from IVsExpansionManager)
GetExpansionByShortcut(IVsExpansionClient, Guid, String, IVsTextView, TextSpan[], Int32, String, String)

Retrieves the title and path to a snippet given its shortcut name.

(Inherited from IVsExpansionManager)
GetSnippetShortCutKeybindingState(Int32)

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

(Inherited from IVsExpansionManager)
GetTokenPath(UInt32, String)

Returns the path to the specified location.

(Inherited from IVsExpansionManager)
InvokeInsertionUI(IVsTextView, IVsExpansionClient, Guid, String[], Int32, Int32, String[], Int32, Int32, String, String)

Shows an IntelliSense list of code snippets that can be inserted into the source through the provided IVsExpansionClient object.

(Inherited from IVsExpansionManager)

Applies to