VsFinderClass 类

定义

查找文本图像。

public ref class VsFinderClass : Microsoft::VisualStudio::TextManager::Interop::VsFinder
[Windows::Foundation::Metadata::WebHostHidden]
class VsFinderClass : Microsoft::VisualStudio::TextManager::Interop::VsFinder
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("9F842E53-E27B-426F-AE69-8F075770C6F3")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsFinderClass : Microsoft.VisualStudio.TextManager.Interop.VsFinder
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("9F842E53-E27B-426F-AE69-8F075770C6F3")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsFinderClass = class
    interface IVsFinder
    interface VsFinder
Public Class VsFinderClass
Implements VsFinder
继承
VsFinderClass
属性
实现

注解

不能使用关键字创建此类的实例 new 。 相反,您必须获取 ILocalRegistry 对象并创建具有的对象 CreateInstance 。 MPF 将此方法包装在 CreateInstance 中。

构造函数

VsFinderClass()

创建该类的一个新实例。

方法

AttachTextImage(Object)

附加文本图像。

Detach()

分离文本图像。

Find(UInt32, TextSpan[], UInt32)

在文本范围内查找文本图像。

GetMatch(TextSpan[])

获取文本跨距匹配项。

GetMatchedSpans(IVsTextSpanSet)

获取匹配的文本范围。

GetState(Int32, UInt32, UInt32)

获取状态。

GetTaggedSpans(IVsTextSpanSet)

返回标记的文本范围。

Init(UInt32, String, Int32, UInt32)

设置查找字符串。

SetPosition(UInt32, TextAddress)

设置搜索位置。

SetScope(IVsTextSpanSet)

将搜索限制为范围集。

适用于