IFileProvider.GetDirectoryContents(String) IFileProvider.GetDirectoryContents(String) IFileProvider.GetDirectoryContents(String) Method

Definition

Enumerate a directory at the given path, if any.

public Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents (string subpath);
abstract member GetDirectoryContents : string -> Microsoft.Extensions.FileProviders.IDirectoryContents
Public Function GetDirectoryContents (subpath As String) As IDirectoryContents

Parameters

subpath
String String String

Relative path that identifies the directory.

Returns

Returns the contents of the directory.

Applies to