public bool HasPropertyType(ushort type) { if (this.PropValues != null && this.PropValues.Count > 0) { foreach (PropValue v in this.PropValues) { if (v.PropType == type) { return true; } } } return false; }