SearchCategories Property
Resource categories to restrict the search to.
Syntax
ANSI (Cross Platform) char* GetSearchCategories();
int SetSearchCategories(const char* lpszSearchCategories); Unicode (Windows) LPWSTR GetSearchCategories();
INT SetSearchCategories(LPCWSTR lpszSearchCategories);
@property (nonatomic,readwrite,assign,getter=searchCategories,setter=setSearchCategories:) NSString* searchCategories; - (NSString*)searchCategories; - (void)setSearchCategories:(NSString*)newSearchCategories;
#define PID_DROPBOX_SEARCHCATEGORIES 62 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_Dropbox_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_Dropbox_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property may be set to a comma-separated list of resource categories to restrict the search results returned by Search. Possible categories include:
Category | Associated File Extensions |
image | jpg, png, gif, ... |
document | doc, docx, txt, ... |
spreadsheet | xls, xlsx, csv, ... |
presentation | ppt, pptx, key, ... |
audio | mp3, wav, mid, ... |
video | mov, wmv, mp4, ... |
folder | (Dropbox folders) |
paper | (Dropbox Paper documents) |
others | (all other files) |
The list of valid categories (and their associated file extensions) is defined by Dropbox and may change at any time; refer to the Dropbox API documentation for more information.
Note that the server will only apply this search restriction when SearchKind is set to dskActive (0).
This property is not available at design time.
Data Type
String