Condividi tramite


IVsExpansionIntellisenseHost Interface

Definition

Provides Insert Expansion support.

public interface class IVsExpansionIntellisenseHost
public interface class IVsExpansionIntellisenseHost
__interface IVsExpansionIntellisenseHost
[System.Runtime.InteropServices.Guid("DEF59D57-46FE-4984-8CA4-5EFA3AC5D16E")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsExpansionIntellisenseHost
[System.Runtime.InteropServices.Guid("DEF59D57-46FE-4984-8CA4-5EFA3AC5D16E")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsExpansionIntellisenseHost
[<System.Runtime.InteropServices.Guid("DEF59D57-46FE-4984-8CA4-5EFA3AC5D16E")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsExpansionIntellisenseHost = interface
[<System.Runtime.InteropServices.Guid("DEF59D57-46FE-4984-8CA4-5EFA3AC5D16E")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsExpansionIntellisenseHost = interface
Public Interface IVsExpansionIntellisenseHost
Attributes

Remarks

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

Methods

GetCurrentLevel(Int32)

Returns the current position.

GetSelection(Int32, Int32)

Retrieves the starting and ending positions of the current expansion selection.

GetText(String)

Returns the text of the expansion text span.

GetTextLen(Int32)

Returns the length of the expansion text span.

SetSelection(Int32, Int32)

Sets the starting and ending position of an expansion text span selection.

SetText(String, Int32)

Replaces the text span within an expansion selection with new text.

Applies to