IVsFindTarget Interface
Implements Find and Replace capabilities within your editor.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣言
<GuidAttribute("DE89D360-C06A-11D2-936C-D714766E8B50")> _
<InterfaceTypeAttribute()> _
Public Interface IVsFindTarget
[GuidAttribute("DE89D360-C06A-11D2-936C-D714766E8B50")]
[InterfaceTypeAttribute()]
public interface IVsFindTarget
[GuidAttribute(L"DE89D360-C06A-11D2-936C-D714766E8B50")]
[InterfaceTypeAttribute()]
public interface class IVsFindTarget
[<GuidAttribute("DE89D360-C06A-11D2-936C-D714766E8B50")>]
[<InterfaceTypeAttribute()>]
type IVsFindTarget = interface end
public interface IVsFindTarget
The IVsFindTarget type exposes the following members.
Methods
Name | Description | |
---|---|---|
Find | Requests a text string search. | |
GetCapabilities | Specifies your supported capabilities. | |
GetCurrentSpan | Returns the coordinates or the caret position of the current selection. | |
GetFindState | Determines the state of a previous Find operation. | |
GetMatchRect | Return the screen coordinates of the matched string. | |
GetProperty | Returns the value of a requested property. | |
GetSearchImage | Returns a text image for the environment to search. | |
MarkSpan | Highlight a given text span. | |
NavigateTo | Move to a specified location within a document. | |
NotifyFindTarget | Sends notification to a find target of a change in status. | |
Replace | Requests a text string replace. | |
SetFindState | Sets the state of a find operation. |
Top
Remarks
Notes to Implementers
Implement this interface to support Find and Replace in your window or document.