Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
Dim instance As 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
Remarks
You must do the following for the environment to know what the current target is, and to find the targets for all open documents:
When a user's document is activated, push the document's IVsFindTarget into the SEID_FindTarget slot of the selection context.
Implement IVsFindTarget on one of the objects returned by the frame properties VSFPROPID_DocView or VSFPROPID_DocData.
Notes to Implementers
Implement this interface to support Find and Replace in your window or document.