private static Element.ElementProperties GetProperty(Element.ElementProperties[] props, Element.ElementProperties.PropertyType type) { Element.ElementProperties property = null; for (int i = 0; i < props.Length; i++) { if (props[i].type == type) { property = props[i]; } } return(property); }
public bool HasProperty(Element.ElementProperties.PropertyType type) { return(GetProperty(this.eData.Properties, type) == null ? false : true); }