Skip to the content.

FileService.GetAllFiles method (1 of 2)

Get all existing files on the FileSystem

public IFileMetaData[] GetAllFiles(bool throwOnException = true, bool throwOnNotFound = true)
parameter description
throwOnException Indicates whether an Exception should be thrown upon errors. Default:true
throwOnNotFound Indicates whether an Exeption should be thrown if the file is not found. Default:true

Return Value

IFileMetaData

See Also


FileService.GetAllFiles method (2 of 2)

Get all existing files on the FileSystem by File Type

public IFileMetaData[] GetAllFiles(string fileType, bool throwOnException = true, 
    bool throwOnNotFound = true)
parameter description
fileType The type of the files
throwOnException Indicates whether an Exception should be thrown upon errors. Default:true
throwOnNotFound Indicates whether an Exeption should be thrown if the file is not found. Default:true

Return Value

IFileMetaData

See Also