다음을 통해 공유


VsExpansionManagerClass Class

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

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsExpansionManagerClass

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

Syntax

‘선언
<ClassInterfaceAttribute()> _
<GuidAttribute("4970C2BC-AF33-4A73-A34F-18B0584C40E4")> _
Public Class VsExpansionManagerClass _
    Implements IVsExpansionManager, VsExpansionManager
[ClassInterfaceAttribute()]
[GuidAttribute("4970C2BC-AF33-4A73-A34F-18B0584C40E4")]
public class VsExpansionManagerClass : IVsExpansionManager, 
    VsExpansionManager
[ClassInterfaceAttribute()]
[GuidAttribute(L"4970C2BC-AF33-4A73-A34F-18B0584C40E4")]
public ref class VsExpansionManagerClass : IVsExpansionManager, 
    VsExpansionManager
[<ClassInterfaceAttribute()>]
[<GuidAttribute("4970C2BC-AF33-4A73-A34F-18B0584C40E4")>]
type VsExpansionManagerClass =  
    class
        interface IVsExpansionManager
        interface VsExpansionManager
    end
public class VsExpansionManagerClass implements IVsExpansionManager, VsExpansionManager

The VsExpansionManagerClass type exposes the following members.

Constructors

  Name Description
Public method VsExpansionManagerClass Creates a new instance of the expansion manager.

Top

Methods

  Name Description
Public method EnumerateExpansions Retrieves a list of code snippets for the specified coding language. See EnumerateExpansions.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetExpansionByShortcut Retrieves the title and path to a snippet given its shortcut name. See GetExpansionByShortcut.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetSnippetShortCutKeybindingState Infrastructure. Determines if a key has been bound to the "Invoke Snippet From Shortcut" command. See GetSnippetShortCutKeybindingState.
Public method GetTokenPath Returns the path to the specified location. See GetTokenPath
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InvokeInsertionUI Shows an IntelliSense list of code snippets that can be inserted into the source through the provided IVsExpansionClient object.See InvokeInsertionUI.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

To create an object of this class, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace