इसके माध्यम से साझा किया गया


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

Relative path that identifies the directory.

Returns

Returns the contents of the directory.

Applies to