Share via


NullFileProvider.GetDirectoryContents(String) Method

Definition

Enumerates a nonexistent directory.

public:
 virtual Microsoft::Extensions::FileProviders::IDirectoryContents ^ GetDirectoryContents(System::String ^ subpath);
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

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