VsFinderClass Class

Finds a text image.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsFinderClass

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
<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

The VsFinderClass type exposes the following members.

Constructors

  Name Description
Public method VsFinderClass Creates a new instance of the class.

Top

Methods

  Name Description
Public method AttachTextImage Attaches a text image.
Public method Detach Detaches a text image.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Find Finds a text image within a text span.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetMatch Gets a text span match.
Public method GetMatchedSpans Gets matched text spans.
Public method GetState Gets state.
Public method GetTaggedSpans Returns tagged text spans.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Init Sets the find string.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetPosition Sets search position.
Public method SetScope Restricts search to the span set.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace