public static ErrorNumber SetProperty(PropertyKey key, string value) { return((ErrorNumber)PlcmHelper.addProperty((int)key, value)); }