ExpansionProvider Constructor (Source^)
Visual Studio 2015
Initializes a new instance of the ExpansionProvider class.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
The base method obtains the IVsTextLines object returned from the GetTextLines method on the Source object and then casts the IVsTextLines object to an IVsExpansion object. If successful, the IVsTextLines object supports insertion of code snippets (which is done through the IVsExpansion interface). The rest of the methods in the ExpansionProvider class assume the IVsExpansion object was successfully obtained.
Show: