Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in microsoft.visualstudio.textmanager.interop.8.0.dll)
[GuidAttribute("3DFA7603-3B51-4484-81CD-FF1470123C7C")] [InterfaceTypeAttribute(1)] public interface IVsExpansionSession
/** @attribute GuidAttribute("3DFA7603-3B51-4484-81CD-FF1470123C7C") */ /** @attribute InterfaceTypeAttribute(1) */ public interface IVsExpansionSession
This interface provides a number of useful methods to support the special code snippet edit mode as well as gaining access to the code snippet XML elements.
Code Snippet Edit Mode
After a code snippet has been inserted into the source document, a special edit mode is enabled that supports tabbing between multiple fields of the code snippet as well as selecting from lists of values associated with fields. The special edit mode is ended when the user types Enter or ESC. If this special edit mode is supported, it must be implemented by the language service that supports the code snippet. Otherwise, the language service should call themethod on this interface to indicate that the code snippet has been accepted and nothing further needs to be done to the snippet.