Cloud Storage Integrator 2016 ActiveX Edition
Cloud Storage Integrator 2016 ActiveX Edition
Questions / Feedback?

Search Method

This method searches for resources matching the specified query.

Syntax

onedrivecontrol.Search query

Remarks

This method may be called to search for resources matching the query parameter. The query value will automatically be URL encoded.

After calling this method set ResourceIndex to a value from 0 to ResourceCount - 1. Setting ResourceIndex populates other Resource properties to provide information about the resource. After calling this method the following resource properties are populated:

If the results are paged ResourceMarker will be populated. Call Search again to retrieve the next page of results. Continue calling Search until ResourceMarker is empty string to retrieve all pages.

Example:

onedrive.Search("vacation photos");
for (int i = 0; i < onedrive.ResourceCount; i++)
{
  onedrive.ResourceIndex = i;
  Console.WriteLine(onedrive.ResourceName);
  Console.WriteLine(onedrive.ResourceSize);
  Console.WriteLine(onedrive.ResourceModifiedDate);
}

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
Cloud Storage Integrator 2016 ActiveX Edition - Version 16.0 [Build 7239]