Beispiel #1
0
 public int GetMatchRect(RECT[] prc)
 {
     if (_findTarget != null)
     {
         return(_findTarget.GetMatchRect(prc));
     }
     return(VSConstants.E_NOTIMPL);
 }
Beispiel #2
0
        int IVsFindTarget.GetMatchRect(Microsoft.VisualStudio.OLE.Interop.RECT[] prc)
        {
            IVsFindTarget findTarget = GetView(sourceFrame) as IVsFindTarget;

            if (findTarget != null)
            {
                return(findTarget.GetMatchRect(prc));
            }

            return(VSConstants.E_NOTIMPL);
        }