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
声明
<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 | |
---|---|---|
GetCurrentLevel | Returns the current position. | |
GetSelection | Retrieves the starting and ending positions of the current expansion selection. | |
GetText | Returns the text of the expansion text span. | |
GetTextLen | Returns the length of the expansion text span. | |
SetSelection | Sets the starting and ending position of an expansion text span selection. | |
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.