VsExpansionPackageClass 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.VsExpansionPackageClass
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
声明
<ClassInterfaceAttribute()> _
<GuidAttribute("0B680757-2C29-4531-80FA-535A5178AA98")> _
Public Class VsExpansionPackageClass _
Implements IVsExpansionManager, VsExpansionPackage
[ClassInterfaceAttribute()]
[GuidAttribute("0B680757-2C29-4531-80FA-535A5178AA98")]
public class VsExpansionPackageClass : IVsExpansionManager,
VsExpansionPackage
[ClassInterfaceAttribute()]
[GuidAttribute(L"0B680757-2C29-4531-80FA-535A5178AA98")]
public ref class VsExpansionPackageClass : IVsExpansionManager,
VsExpansionPackage
[<ClassInterfaceAttribute()>]
[<GuidAttribute("0B680757-2C29-4531-80FA-535A5178AA98")>]
type VsExpansionPackageClass =
class
interface IVsExpansionManager
interface VsExpansionPackage
end
public class VsExpansionPackageClass implements IVsExpansionManager, VsExpansionPackage
The VsExpansionPackageClass type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VsExpansionPackageClass | Initializes a new instance of VsExpansionPackageClass. |
Top
Methods
Name | Description | |
---|---|---|
EnumerateExpansions | Retrieves a list of code snippets for the specified coding language. See EnumerateExpansions. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetExpansionByShortcut | Retrieves the title and path to a snippet given its shortcut name. See GetExpansionByShortcut. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetSnippetShortCutKeybindingState | Determines if a key has been bound to the "Invoke Snippet From Shortcut" command. See GetSnippetShortCutKeybindingState. | |
GetTokenPath | Returns the path to the specified location. See GetTokenPath. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InvokeInsertionUI | Shows an IntelliSense list of code snippets that can be inserted into the source through the provided IVsExpansionClient object. See InvokeInsertionUI. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
You cannot create an instance of this class with the new keyword. Instead, 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.