public string search(string api_key, string auth_token, string query, int page, int per_page, string sort, string direction, string[] @params, out SOAPSearchResultItem[] files, out SOAPSearchResultItem[] folders) { object[] results = this.Invoke("search", new object[] { api_key, auth_token, query, page, per_page, sort, direction, @params}); files = ((SOAPSearchResultItem[])(results[1])); folders = ((SOAPSearchResultItem[])(results[2])); return ((string)(results[0])); }
/// <remarks/> public string Endsearch(System.IAsyncResult asyncResult, out SOAPSearchResultItem[] files, out SOAPSearchResultItem[] folders) { object[] results = this.EndInvoke(asyncResult); files = ((SOAPSearchResultItem[])(results[1])); folders = ((SOAPSearchResultItem[])(results[2])); return ((string)(results[0])); }