SIL.FieldWorks.Common.RootSites.CollectorEnv.CPropPrev C# (CSharp) Method

CPropPrev() protected method

Gets the count of previous occurrences of the given property at our current stack level.
protected CPropPrev ( int tag ) : int
tag int The tag/flid to check.
return int
		protected int CPropPrev(int tag)
		{
			if (m_stack.Count == 0)
				return m_cpropPrev.GetCount(tag);

			StackItem top = m_stack[m_stack.Count - 1];
			return top.m_cpropPrev.GetCount(tag);
		}