public bool taggedValueTypeExists(string tagName)
{
this.wrappedModel.PropertyTypes.Refresh();
foreach (global::EA.PropertyType taggedValueType in this.wrappedModel.PropertyTypes)
{
string tagTypeName = taggedValueType.Tag;
//ignore case or EA will complain
if (taggedValueType.Tag.Equals(tagName,StringComparison.InvariantCultureIgnoreCase))
{
return true;
}
}
return false;
}