SIL.FieldWorks.TE.ImportWizard.IsDup C# (CSharp) Method

IsDup() protected method

Handles the CharacterMappingsettings.IsDuplicateMapping event. Checks for duplicate begin marker, unless we're just modifying other properties of an existing one. ///
protected IsDup ( string beginMarker ) : bool
beginMarker string
return bool
		protected virtual bool IsDup(string beginMarker)
		{
			if (m_sMarkerBeingModified != beginMarker)
			{
				foreach (ListViewItem item in m_lvCurrentMappingList.Items)
				{
					if (((ImportMappingInfo)item.Tag).BeginMarker == beginMarker)
						return true;
				}
			}
			return false;
		}