public FileProperties[] ListMetadata(ListMetadataQuery[] queries, double asOfVersion)
        {
            if (queries == null || queries.Length == 0)
                throw new ArgumentNullException(nameof(queries));

            FileProperties[] filePropertiesArray = _service.listMetadata(queries, asOfVersion);

            if (filePropertiesArray == null || filePropertiesArray.Length == 0)
                filePropertiesArray = new FileProperties[0];

            return filePropertiesArray;
        }
 /// <remarks/>
 public void listMetadataAsync(ListMetadataQuery[] queries, double asOfVersion, object userState)
 {
     if ((this.listMetadataOperationCompleted == null))
     {
         this.listMetadataOperationCompleted =
             new System.Threading.SendOrPostCallback(this.OnlistMetadataOperationCompleted);
     }
     this.InvokeAsync("listMetadata", new object[]
     {
         queries,
         asOfVersion
     }, this.listMetadataOperationCompleted, userState);
 }
 /// <remarks/>
 public void listMetadataAsync(ListMetadataQuery[] queries, double asOfVersion)
 {
     this.listMetadataAsync(queries, asOfVersion, null);
 }
 /// <remarks/>
 public System.IAsyncResult BeginlistMetadata(ListMetadataQuery[] queries, double asOfVersion,
     System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("listMetadata", new object[]
     {
         queries,
         asOfVersion
     }, callback, asyncState);
 }