# FileFilterScope

FileFilterScope Enum

File filter scope

Fields

FolderAndFile | 0 | Valid for files and folders
Folder | 1 | Only valid for folders
File | 2 | Only valid for files

Examples

RushFileFilter filter = new RushFileFilter { Mask = "*.jpg", Color = Sys.ColorFromRGB(255,0,0), FileFilterScope = FileFilterScope.File}; //For global options Option.Setting.FileFilters.Add(filter); //For a specific server Server dropbox_server = new Server { Protocol = ServerProtocol.DropBox}; dropbox_server.FileFilters.Add(filter); Site.Add("filter_test",dropbox_server);

See Also

- RushFileFilter
- Option
- Setting
- Server
- Site