IVsFindTarget::GetMatchRect Method (array<RECT>^)
Visual Studio 2015
Return the screen coordinates of the matched string.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- prc
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::RECT>^
[out] Screen coordinates of the match. Values are returned in a PRECT structure.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsFindTarget::GetMatchRect( [out, retval] PRECT prc );
After being notified of a successful Find call, the environment will call GetMatchRect to determine if the find/replace dialog box should be moved. Return the screen coordinates of the matched string in a PRECT structure.
Show: