ExpansionProvider.Expansion Property
Returns the IVsExpansion object used for inserting snippets into a buffer.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Syntax
'Declaration
Public ReadOnly Property Expansion As IVsExpansion
public IVsExpansion Expansion { get; }
Property Value
Type: Microsoft.VisualStudio.TextManager.Interop.IVsExpansion
Returns the IVsExpansion object that was obtained from the IVsTextLines object in the ExpansionProvider class constructor (ExpansionProvider).
Remarks
The IVsExpansion object is used to insert a code snippet into the text buffer that the IVsExpansion object represents.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.