Compartir a través de


VsFinderClass Class

Definition

Finds a text image.

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.Guid("9F842E53-E27B-426F-AE69-8F075770C6F3")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
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
[<System.Runtime.InteropServices.Guid("9F842E53-E27B-426F-AE69-8F075770C6F3")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsFinderClass = class
    interface VsFinder
    interface IVsFinder
Public Class VsFinderClass
Implements VsFinder
Inheritance
VsFinderClass
Attributes
Implements

Remarks

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Constructors

VsFinderClass()

Creates a new instance of the class.

Methods

AttachTextImage(Object)

Attaches a text image.

Detach()

Detaches a text image.

Find(UInt32, TextSpan[], UInt32)

Finds a text image within a text span.

GetMatch(TextSpan[])

Gets a text span match.

GetMatchedSpans(IVsTextSpanSet)

Gets matched text spans.

GetState(Int32, UInt32, UInt32)

Gets state.

GetTaggedSpans(IVsTextSpanSet)

Returns tagged text spans.

Init(UInt32, String, Int32, UInt32)

Sets the find string.

SetPosition(UInt32, TextAddress)

Sets search position.

SetScope(IVsTextSpanSet)

Restricts search to the span set.

Applies to