SIL.FieldWorks.FdoUi.CmObjectUi.CmPossRefVc.HandleObjMissing C# (CSharp) Method

HandleObjMissing() private method

private HandleObjMissing ( IVwEnv vwenv, int hvo ) : bool
vwenv IVwEnv
hvo int
return bool
			private bool HandleObjMissing(IVwEnv vwenv, int hvo)
			{
				if (m_cache.DomainDataByFlid.get_ObjectProp(hvo, m_flidRef) == 0)
				{
					int wsUi = vwenv.DataAccess.WritingSystemFactory.UserWs;
					ITsStrFactory tsf = m_cache.TsStrFactory;
					vwenv.AddString(tsf.MakeString(FdoUiStrings.ksQuestions, wsUi));	// was "??", not "???"
					vwenv.NoteDependency(new[] { hvo }, new[] { m_flidRef }, 1);
					return false;
				}
				return true;
			}