NullFileProvider.GetDirectoryContents(String) NullFileProvider.GetDirectoryContents(String) NullFileProvider.GetDirectoryContents(String) Method

Definition

Enumerate a non-existent directory.

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

Parameters

subpath
String String String

A path under the root directory. This parameter is ignored.

Returns

A IDirectoryContents that does not exist and does not contain any contents.

Implements

Applies to