Partager via


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

'Declaration
<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
Public method Find Requests a text string search.
Public method GetCapabilities Specifies your supported capabilities.
Public method GetCurrentSpan Returns the coordinates or the caret position of the current selection.
Public method GetFindState Determines the state of a previous Find operation.
Public method GetMatchRect Return the screen coordinates of the matched string.
Public method GetProperty Returns the value of a requested property.
Public method GetSearchImage Returns a text image for the environment to search.
Public method MarkSpan Highlight a given text span.
Public method NavigateTo Move to a specified location within a document.
Public method NotifyFindTarget Sends notification to a find target of a change in status.
Public method Replace Requests a text string replace.
Public method 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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace