示例#1
0
        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;
        }
示例#2
0
        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;
        }