Click or drag to resize

WebDavSessionGetChildrenAsync Method

IT Hit WebDAV Classes Reference
Enumerates children of the specified folder.

Namespace:  ITHit.WebDAV.Client
Assembly:  ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 6.0.4052-Beta
Syntax
public Task<IHierarchyItem[]> GetChildrenAsync(
	Uri folder,
	bool recursively = false,
	PropertyName[] names = null,
	IDictionary<string, string> headers = null,
	CancellationToken cancellationToken = null
)

Parameters

folder
Type: SystemUri
Folder to enumerate children.
recursively (Optional)
Type: SystemBoolean
Indicates if all subtree of children should be returned.
names (Optional)
Type: ITHit.WebDAV.ClientPropertyName
Properties that will be requested form server for each item returned by this method.
headers (Optional)
Type: System.Collections.GenericIDictionaryString, String
Request headers.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

Type: TaskIHierarchyItem
Array of child folders and files.
See Also