public string[] searchUIDs(string expr, string [] sub) { CamelException ex = new CamelException(); Util.UIDArray uids = new Util.UIDArray(sub); IntPtr o = camel_folder_search_by_uids(cobject, expr, ref uids, ref ex); if (ex.id != 0) throw new Camel.Exception(ex); uids = new Util.UIDArray(o); camel_folder_search_free(cobject, o); return uids.uids; }
public string[] getUIDs() { IntPtr o = camel_folder_get_uids(cobject); Util.UIDArray uids = new Util.UIDArray(o); camel_folder_free_uids(cobject, o); return uids.uids; }