VsExpansionManagerClass Class

 

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

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

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

[ClassInterfaceAttribute(0)]
[GuidAttribute("4970C2BC-AF33-4A73-A34F-18B0584C40E4")]
public class VsExpansionManagerClass : IVsExpansionManager, VsExpansionManager

NameDescription
System_CAPS_pubmethodVsExpansionManagerClass()

Creates a new instance of the expansion manager.

NameDescription
System_CAPS_pubmethodEnumerateExpansions(Guid, Int32, String[], Int32, Int32, Int32, IVsExpansionEnumeration)

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

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetExpansionByShortcut(IVsExpansionClient, Guid, String, IVsTextView, TextSpan[], Int32, String, String)

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

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetSnippetShortCutKeybindingState(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.

System_CAPS_pubmethodGetTokenPath(UInt32, String)

Returns the path to the specified location. See GetTokenPath

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInvokeInsertionUI(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.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: