public PropertySet CreatePropertySet(string name) { PropertySetClass theClass = LookupClass(name); if (theClass != null) { return(theClass.CreateInstance()); } return(null); }