Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in microsoft.visualstudio.textmanager.interop.8.0.dll)
[GuidAttribute("9DD0F39A-9502-4068-93B7-B6ADAB33ECD8")] [InterfaceTypeAttribute(1)] public interface IVsExpansionClient
/** @attribute GuidAttribute("9DD0F39A-9502-4068-93B7-B6ADAB33ECD8") */ /** @attribute InterfaceTypeAttribute(1) */ public interface IVsExpansionClient
This interface is used by clients of the code snippet manager to:
Receive before and after notifications during the insertion process.
Format the code snippet after it is inserted.
Verify that the snippet can be inserted at a given location.
Initiate a code snippet insertion in response to an IntelliSense menu selection of a code snippet.
Position the edit caret after a code snippet has been inserted.
If you implement the IVsExpansionClient interface to support the OnItemChosen method, your class implementation should obtain and store theinterface from the object before the InvokeInsertionUI method is called as the IVsExpansion interface is needed to complete the implementation of the OnItemChosen interface.