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
'Dichiarazione
Public ReadOnly Property Expansion As IVsExpansion
Get
'Utilizzo
Dim instance As ExpansionProvider
Dim value As IVsExpansion
value = instance.Expansion
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
- 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.