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

GetOuterObject() public method

Gets the outer object.
public GetOuterObject ( int iLevel, int &hvo, int &tag, int &ihvo ) : void
iLevel int Index of the outer level to retrieve.
hvo int The hvo.
tag int The tag.
ihvo int The ihvo.
return void
		public void GetOuterObject(int iLevel, out int hvo, out int tag, out int ihvo)
		{
			int clevBase = 0;
			if (m_baseEnv != null)
				clevBase = m_baseEnv.EmbeddingLevel;
			if (iLevel >= clevBase)
			{
				// A row from our own stack
				StackItem item = m_stack[iLevel - clevBase];
				hvo = item.m_hvoOuter;
				tag = item.m_tag;
				ihvo = item.m_ihvo;
			}
			else
				m_baseEnv.GetOuterObject(iLevel, out hvo, out tag, out ihvo);
		}