public virtual System.Collections.ArrayList getValue(System.String name) { try { Property p = (Property)properties.getRecordForValue("NAME", name); return(p.value_Renamed); } catch (System.ArgumentOutOfRangeException nsee) { return(null); } }
public virtual void writeValue(System.String propertyName, System.Collections.ArrayList value_Renamed) { Property theProp = new Property(); theProp.name = propertyName; theProp.value_Renamed = value_Renamed; System.Collections.ArrayList IDs = properties.getIDsForValue("NAME", propertyName); if (IDs.Count == 1) { theProp.ID = ((System.Int32)IDs[0]); } try { properties.write(theProp); } catch (StorageFullException e) { throw new System.SystemException("uh-oh, storage full [properties]"); //TODO: handle this } }