VsFinderClass 类
查找一个文本图像。
继承层次结构
Object
Microsoft.VisualStudio.TextManager.Interop.VsFinderClass
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
语法
声明
<ClassInterfaceAttribute()> _
<GuidAttribute("9F842E53-E27B-426F-AE69-8F075770C6F3")> _
Public Class VsFinderClass _
Implements IVsFinder, VsFinder
[ClassInterfaceAttribute()]
[GuidAttribute("9F842E53-E27B-426F-AE69-8F075770C6F3")]
public class VsFinderClass : IVsFinder,
VsFinder
[ClassInterfaceAttribute()]
[GuidAttribute(L"9F842E53-E27B-426F-AE69-8F075770C6F3")]
public ref class VsFinderClass : IVsFinder,
VsFinder
[<ClassInterfaceAttribute()>]
[<GuidAttribute("9F842E53-E27B-426F-AE69-8F075770C6F3")>]
type VsFinderClass =
class
interface IVsFinder
interface VsFinder
end
public class VsFinderClass implements IVsFinder, VsFinder
VsFinderClass 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
VsFinderClass |
页首
方法
名称 | 说明 | |
---|---|---|
AttachTextImage | 附加文本图像。 | |
Detach | 分离文本图像。 | |
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) | |
Finalize | 在垃圾回收将某一对象回收前允许该对象尝试释放资源并执行其他清理操作。 (继承自 Object。) | |
Find | 查找在文本范围内的文本图像。 | |
GetHashCode | 作为默认哈希函数。 (继承自 Object。) | |
GetMatch | 获取文本范围匹配。 | |
GetMatchedSpans | 获取匹配文本范围。 | |
GetState | 获取状态。 | |
GetTaggedSpans | returns 标记文本范围。 | |
GetType | 获取当前实例的 Type。 (继承自 Object。) | |
Init | 将查找字符串。 | |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | |
SetPosition | 设置搜索位置。 | |
SetScope | 设置的大小限制搜索。 | |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
备注
您不能使用 new 关键字创建此类的实例。 相反,您必须获取 ILocalRegistry 对象并用 CreateInstance创建对象。 MPF 将使用 CreateInstance的此方法。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。