Condividi tramite


IVsExpansionIntellisenseHost Interface

Provides Insert Expansion support.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Dichiarazione
<InterfaceTypeAttribute()> _
<GuidAttribute("DEF59D57-46FE-4984-8CA4-5EFA3AC5D16E")> _
Public Interface IVsExpansionIntellisenseHost
[InterfaceTypeAttribute()]
[GuidAttribute("DEF59D57-46FE-4984-8CA4-5EFA3AC5D16E")]
public interface IVsExpansionIntellisenseHost
[InterfaceTypeAttribute()]
[GuidAttribute(L"DEF59D57-46FE-4984-8CA4-5EFA3AC5D16E")]
public interface class IVsExpansionIntellisenseHost
[<InterfaceTypeAttribute()>]
[<GuidAttribute("DEF59D57-46FE-4984-8CA4-5EFA3AC5D16E")>]
type IVsExpansionIntellisenseHost =  interface end
public interface IVsExpansionIntellisenseHost

The IVsExpansionIntellisenseHost type exposes the following members.

Methods

  Name Description
Public method GetCurrentLevel Returns the current position.
Public method GetSelection Retrieves the starting and ending positions of the current expansion selection.
Public method GetText Returns the text of the expansion text span.
Public method GetTextLen Returns the length of the expansion text span.
Public method SetSelection Sets the starting and ending position of an expansion text span selection.
Public method SetText Replaces the text span within an expansion selection with new text.

Top

Remarks

To find the snippet picker, right click in a C# file, point to IntelliSense on the shortcut menu and then click Insert Expansion.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace