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.2.27026.0
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