Search for only files/folders using the SDK

Plug-in and third party software discussion.
Post Reply
c4359f66
Posts: 1
Joined: Tue Mar 05, 2019 4:57 pm

Search for only files/folders using the SDK

Post by c4359f66 »

Hello,
I am working on an application that uses the Everything SDK (C#) to search for files. What would be the easiest way to search for only the first 100 files or only the first 100 folders? Currently I mostly get files (instead of folders) when limiting the search to 100 results but I want to be able to display the first 100 folder results in another list.

Edit: I think I just got it... Is the easiest way to prepend "folders:"?
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search for only files/folders using the SDK

Post by void »

If you don't need file results, include the following in your search:
folder:
Post Reply