예제 #1
0
 public int Find(string pszSearch, uint grfOptions, int fResetStartPoint, IVsFindHelper pHelper, out uint pResult)
 {
     if (_findTarget != null)
     {
         return(_findTarget.Find(pszSearch, grfOptions, fResetStartPoint, pHelper, out pResult));
     }
     pResult = 0;
     return(VSConstants.E_NOTIMPL);
 }
예제 #2
0
        int IVsFindTarget.Find(string pszSearch, uint grfOptions, int fResetStartPoint, IVsFindHelper pHelper, out uint pResult)
        {
            IVsFindTarget findTarget = GetView(sourceFrame) as IVsFindTarget;

            if (findTarget != null)
            {
                return(findTarget.Find(pszSearch, grfOptions, fResetStartPoint, pHelper, out pResult));
            }

            pResult = (uint)__VSFINDRESULT.VSFR_NotFound;
            return(VSConstants.E_NOTIMPL);
        }