שתף באמצעות


IFileProvider.GetDirectoryContents(String) Method

Definition

Enumerate a directory at the given path, if any.

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

The relative path that identifies the directory.

Returns

The contents of the directory.

Applies to