ListContentsAsync(string path) Method

Returns a list of the items contained in the specified directory.

Syntax

public abstract Task<IEnumerable<FileSystemItem>> ListContentsAsync(string path)

Parameters

path
Type: string

The directory to list contents of.

Returns

List of items in the specified directory.