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

GetBasicPropertyValue() protected method

protected GetBasicPropertyValue ( ISilDataAccess sda, int hvoOwner ) : int
sda ISilDataAccess
hvoOwner int
return int
		protected virtual int GetBasicPropertyValue(ISilDataAccess sda, int hvoOwner)
		{
			int type = m_sda.MetaDataCache.GetFieldType(m_flid);
			if (type == (int)CellarPropertyType.Boolean)
				return sda.get_BooleanProp(hvoOwner, m_flid) ? 1 : 0;
			else
				return sda.get_IntProp(hvoOwner, m_flid);
		}