SIL.FieldWorks.Common.Controls.IntChooserBEditControl.TryGetOriginalListValue C# (CSharp) Method

TryGetOriginalListValue() protected method

protected TryGetOriginalListValue ( ISilDataAccess sda, int hvoItem, int &value ) : bool
sda ISilDataAccess
hvoItem int
value int
return bool
		protected override bool TryGetOriginalListValue(ISilDataAccess sda, int hvoItem, out int value)
		{
			value = Int32.MinValue;
			int hvoOwningInt = hvoItem;
			if (m_ghostParentHelper != null)
				hvoOwningInt = m_ghostParentHelper.GetOwnerOfTargetProperty(hvoItem);
			if (hvoOwningInt == 0)
				return false;
			value = GetBasicPropertyValue(sda, hvoOwningInt);
			return true;
		}