ExpansionProvider(Source) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ExpansionProvider class.
public:
ExpansionProvider(Microsoft::VisualStudio::Package::Source ^ src);
public ExpansionProvider (Microsoft.VisualStudio.Package.Source src);
new Microsoft.VisualStudio.Package.ExpansionProvider : Microsoft.VisualStudio.Package.Source -> Microsoft.VisualStudio.Package.ExpansionProvider
Public Sub New (src As Source)
Parameters
Remarks
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.