Compartir a través de


IVsFindTarget Interface

Definition

Implements Find and Replace capabilities within your editor.

public interface class IVsFindTarget
public interface class IVsFindTarget
__interface IVsFindTarget
[System.Runtime.InteropServices.Guid("DE89D360-C06A-11D2-936C-D714766E8B50")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsFindTarget
[System.Runtime.InteropServices.Guid("DE89D360-C06A-11D2-936C-D714766E8B50")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFindTarget
[<System.Runtime.InteropServices.Guid("DE89D360-C06A-11D2-936C-D714766E8B50")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsFindTarget = interface
[<System.Runtime.InteropServices.Guid("DE89D360-C06A-11D2-936C-D714766E8B50")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFindTarget = interface
Public Interface IVsFindTarget
Derived
Attributes

Remarks

Notes to Implementers

Implement this interface to support Find and Replace in your window or document.

Methods

Find(String, UInt32, Int32, IVsFindHelper, UInt32)

Requests a text string search.

GetCapabilities(Boolean[], UInt32[])

Specifies your supported capabilities.

GetCurrentSpan(TextSpan[])

Returns the coordinates or the caret position of the current selection.

GetFindState(Object)

Determines the state of a previous Find operation.

GetMatchRect(RECT[])

Return the screen coordinates of the matched string.

GetProperty(UInt32, Object)

Returns the value of a requested property.

GetSearchImage(UInt32, IVsTextSpanSet[], IVsTextImage)

Returns a text image for the environment to search.

MarkSpan(TextSpan[])

Highlight a given text span.

NavigateTo(TextSpan[])

Move to a specified location within a document.

NotifyFindTarget(UInt32)

Sends notification to a find target of a change in status.

Replace(String, String, UInt32, Int32, IVsFindHelper, Int32)

Requests a text string replace.

SetFindState(Object)

Sets the state of a find operation.

Applies to