提供 插入扩展 支持。
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)
语法
声明
<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
IVsExpansionIntellisenseHost 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
![]() |
GetCurrentLevel | 返回当前位置。 |
![]() |
GetSelection | 检索当前展开选定的开始和结束位置。 |
![]() |
GetText | 返回展开文本范围中获取文本。 |
![]() |
GetTextLen | 返回展开文本范围的长度。 |
![]() |
SetSelection | 设置扩展文本范围选择的开始和结束位置。 |
![]() |
SetText | 使用新文本替换在展开选定内容中的文本范围。 |
页首
备注
若要查找代码段选择器,在 C# 文件中右击,指向在快捷菜单上的 IntelliSense 然后单击 插入扩展。