public ZLPropertyInfo SearchProperty(string zname) { ZLClassInfo temp = this; while (temp != null) { ZLPropertyInfo zp = temp.SearchDeclaredZProperty(zname); if (zp != null) { return(zp); } else { temp = temp.BaseZClass; } } return(null); }