Click or drag to resize

IFolderGetChildrenAsync Method

IT Hit User File System
Gets list of files and folders contained in this folder that match a search pattern.

Namespace:  ITHit.FileSystem
Assembly:  ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 8.1.26901.0
Task GetChildrenAsync(
	string pattern,
	IOperationContext operationContext,
	IFolderListingResultContext resultContext,
	CancellationToken cancellationToken


Type: SystemString
Search pattern. In case of Windows, this is a standard Windows file pattern which may contain wildcard characters(‘?’, ‘*’). All placeholders information matching the pattern must be transferred, but not necessarily in one-shot, as a minimum requirement. Alternatively, your file system implementation may choose to not transfer placeholders matching the pattern.
Type: ITHit.FileSystemIOperationContext
Provides information about the environment.
Type: ITHit.FileSystemIFolderListingResultContext
Used to return list of files and folders from this call to the platform. Also provides methods for reporting progress and operation status.
Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.

Return Value

Type: Task
A task object that can be awaited.
See Also