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.0.26019.0-Beta+92e3f56e17dbfd6ebbef85925c0684282db3d967
Syntax
Task GetChildrenAsync(
	string pattern,
	IOperationContext operationContext,
	IFolderListingResultContext resultContext,
	CancellationToken cancellationToken
)

Parameters

pattern
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.
operationContext
Type: ITHit.FileSystemIOperationContext
Provides information about the environment.
resultContext
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.
cancellationToken
Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.

Return Value

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