ExpansionProvider::ExpansionSession Property

 

Returns the expansion session created to manage editing the code snippet.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property IVsExpansionSession^ ExpansionSession {
	IVsExpansionSession^ get();
}

Property Value

Type: Microsoft.VisualStudio.TextManager.Interop::IVsExpansionSession^

Returns the IVsExpansionSession object that was passed to the OnBeforeInsertion method.

The IVsExpansionSession object is created by Visual Studio and passed to the expansion provider through the OnBeforeInsertion method.

Return to top
Show: