Share via


ExpansionProvider.Expansion Property

Returns the IVsExpansion object used for inserting snippets into a buffer.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaration
Public ReadOnly Property Expansion As IVsExpansion
public IVsExpansion Expansion { get; }
public:
property IVsExpansion^ Expansion {
    IVsExpansion^ get ();
}
member Expansion : IVsExpansion
function get Expansion () : IVsExpansion

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

See Also

Reference

ExpansionProvider Class

Microsoft.VisualStudio.Package Namespace