IVsFindTarget 接口

实现 查找 和编辑中的 替换 功能。

命名空间:  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 确定查找操作的状态。

页首

备注

对实现者的说明

实现此接口支持 查找替换 在窗口或文档。

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间