IFolderListingResultContextReturnChildrenAsync Method |
IT Hit User File System
Namespace:
ITHit.FileSystem
Assembly:
ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 8.2.27026.0
Syntax Task ReturnChildrenAsync(
IFileSystemItemMetadata[] aChildrenBlock,
long childrenTotalCount,
bool disableOnDemandPopulation = true,
CancellationToken cancellationToken = null
)
Function ReturnChildrenAsync (
aChildrenBlock As IFileSystemItemMetadata(),
childrenTotalCount As Long,
Optional disableOnDemandPopulation As Boolean = true,
Optional cancellationToken As CancellationToken = Nothing
) As Task
Task^ ReturnChildrenAsync(
array<IFileSystemItemMetadata^>^ aChildrenBlock,
long long childrenTotalCount,
bool disableOnDemandPopulation = true,
CancellationToken cancellationToken = nullptr
)
abstract ReturnChildrenAsync :
aChildrenBlock : IFileSystemItemMetadata[] *
childrenTotalCount : int64 *
?disableOnDemandPopulation : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _disableOnDemandPopulation = defaultArg disableOnDemandPopulation true
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task
Parameters
- aChildrenBlock
- Type: ITHit.FileSystemIFileSystemItemMetadata
Array of files and folders. - childrenTotalCount
- Type: SystemInt64
Total number of items that should be returned in response to GetChildrenAsync(String, IOperationContext, IFolderListingResultContext, CancellationToken) call. - disableOnDemandPopulation (Optional)
- Type: SystemBoolean
Set this parameter to true to indicate that all children has loaded.
This will prevent any further folder listings and calls to GetChildrenAsync(String, IOperationContext, IFolderListingResultContext, CancellationToken).
Set this parameter to false if you enabled the streaming mode by setting the [!:StorageProviderHydrationPolicyModifier.StreamingAllowed]
flag in [!:StorageProviderSyncRootInfo.HydrationPolicyModifier] when registering the virtual file system.
- cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
Return Value
Type:
TaskA task object that can be awaited.
Remarks See Also