次の方法で共有


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

'宣言
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

See Also

Reference

ExpansionProvider Class

Microsoft.VisualStudio.Package Namespace