实现 查找 和编辑中的 替换 功能。
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
语法
声明
<GuidAttribute("DE89D360-C06A-11D2-936C-D714766E8B50")> _
<InterfaceTypeAttribute()> _
Public Interface IVsFindTarget
[GuidAttribute("DE89D360-C06A-11D2-936C-D714766E8B50")]
[InterfaceTypeAttribute()]
public interface IVsFindTarget
[GuidAttribute(L"DE89D360-C06A-11D2-936C-D714766E8B50")]
[InterfaceTypeAttribute()]
public interface class IVsFindTarget
[<GuidAttribute("DE89D360-C06A-11D2-936C-D714766E8B50")>]
[<InterfaceTypeAttribute()>]
type IVsFindTarget = interface end
public interface IVsFindTarget
IVsFindTarget 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
![]() |
Find | 请求文本字符串搜索。 |
![]() |
GetCapabilities | 指定支持的功能。 |
![]() |
GetCurrentSpan | 返回坐标或当前选择的插入符号位置。 |
![]() |
GetFindState | 确定一 查找 操作的状态。 |
![]() |
GetMatchRect | 返回一个匹配的字符串的屏幕坐标。 |
![]() |
GetProperty | 返回所请求的属性的值。 |
![]() |
GetSearchImage | 返回环境的文本图像可以搜索。 |
![]() |
MarkSpan | 显示特定文本范围。 |
![]() |
NavigateTo | 将在文档中的指定位置。 |
![]() |
NotifyFindTarget | 通知发送给一种状态更改的外观目标。 |
![]() |
Replace | 请求文本字符串替换。 |
![]() |
SetFindState | 确定查找操作的状态。 |
页首
备注
对实现者的说明
实现此接口支持 查找 和 替换 在窗口或文档。