/// <summary> /// Let the caller issue a PropChanged for this list whenever it is through with its conversions. /// </summary> /// <param name="owningflid"></param> /// <param name="hvoDummyId"></param> /// <returns></returns> private ICmObject ConvertDummyToReal(int owningHvo, int virtflid, int hvoDummyId) { ICmObject ann = null; List <int> annotationItems = new List <int>(m_cache.GetVectorProperty(owningHvo, virtflid, true)); int indexOfId = annotationItems.IndexOf(hvoDummyId); Debug.Assert(indexOfId >= 0); if (indexOfId >= 0) { ann = CmObject.ConvertDummyToReal(m_cache, hvoDummyId); Debug.Assert(ann != null); m_cache.VwCacheDaAccessor.CacheReplace(owningHvo, virtflid, indexOfId, indexOfId + 1, new int[] { ann.Hvo }, 1); } return(ann); }