Esempio n. 1
0
        protected override FdoObjectSet <ICmObject> GetObjectSet()
        {
            IVwVirtualHandler handler = (m_cache.MainCacheAccessor as IVwCacheDa).GetVirtualHandlerId(m_flid);

            Debug.Assert(handler != null);

            IReversalIndex ri = m_owningObject as IReversalIndex;

            Debug.Assert(ri != null && ri.IsValidObject(), "The owning ReversalIndex object is invalid!?");
            // Force the handler to (re)load the property.
            handler.Load(ri.Hvo, m_flid, ri.WritingSystemRAHvo, m_cache.MainCacheAccessor as IVwCacheDa);
            int[] items = m_cache.GetVectorProperty(ri.Hvo, m_flid, true);
            return(new FdoObjectSet <ICmObject>(m_cache, items, true));
        }