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); }
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); }