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
声明
<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 | |
---|---|---|
VsFinderClass | Creates a new instance of the class. |
Top
Methods
Name | Description | |
---|---|---|
AttachTextImage | Attaches a text image. | |
Detach | Detaches a text image. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Find | Finds a text image within a text span. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetMatch | Gets a text span match. | |
GetMatchedSpans | Gets matched text spans. | |
GetState | Gets state. | |
GetTaggedSpans | Returns tagged text spans. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Init | Sets the find string. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetPosition | Sets search position. | |
SetScope | Restricts search to the span set. | |
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.