共用方式為


VsExpansionManager Interface

Represents the VsExpansionManager coclass.

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

Syntax

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

The VsExpansionManager 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