VsExpansionManagerClass Class
Represents the expansion manager, which knows how to find and display lists of code snippets for a particular coding language.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
| Name | Description | |
|---|---|---|
![]() | VsExpansionManagerClass() | Creates a new instance of the expansion manager. |
| Name | Description | |
|---|---|---|
![]() | EnumerateExpansions(Guid, Int32, String[], Int32, Int32, Int32, IVsExpansionEnumeration) | Retrieves a list of code snippets for the specified coding language. See EnumerateExpansions. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetExpansionByShortcut(IVsExpansionClient, Guid, String, IVsTextView, TextSpan[], Int32, String, String) | Retrieves the title and path to a snippet given its shortcut name. See GetExpansionByShortcut. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetSnippetShortCutKeybindingState(Int32) | This API supports the product infrastructure and is not intended to be used directly from your code. Determines if a key has been bound to the "Invoke Snippet From Shortcut" command. See GetSnippetShortCutKeybindingState. |
![]() | GetTokenPath(UInt32, String) | Returns the path to the specified location. See GetTokenPath |
![]() | GetType() | (Inherited from Object.) |
![]() | 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. See InvokeInsertionUI. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

