SIL.FieldWorks.Common.Controls.OwnMlPropReadWriter.OwnMlPropReadWriter C# (CSharp) Method

OwnMlPropReadWriter() public method

public OwnMlPropReadWriter ( SIL.FieldWorks.FDO.FdoCache cache, int flid, int ws ) : System
cache SIL.FieldWorks.FDO.FdoCache
flid int
ws int
return System
		public OwnMlPropReadWriter(FdoCache cache, int flid, int ws)
			: base(cache, flid, ws)
		{

			try
			{
				var fieldType = m_sda.MetaDataCache.GetFieldType(flid);
				m_fFieldAllowsMultipleRuns = fieldType == (int)CellarPropertyType.MultiString;
			}
			catch (KeyNotFoundException)
			{
				m_fFieldAllowsMultipleRuns = true; // Possibly a decorator field??
			}
		}