SIL.FieldWorks.CacheLight.RealDataCache.get_UnknownProp C# (CSharp) Method

get_UnknownProp() private method

private get_UnknownProp ( int hvo, int tag ) : object
hvo int
tag int
return object
		public object get_UnknownProp(int hvo, int tag)
		{
			CheckDisposed();

			CheckBasics(hvo);

			var key = new HvoFlidKey(hvo, tag);
			var removeFromCache = false;
			if (!m_basicObjectCache.ContainsKey(key))
				removeFromCache = CheckForVirtual(hvo, tag);
			var val = m_basicObjectCache[key];
			if (removeFromCache)
				m_basicObjectCache.Remove(key);
			return val;
		}