Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IFileProvider.GetDirectoryContents(String) Method

Definition

Namespace:
Microsoft.Extensions.FileProviders
Assembly:
Microsoft.Extensions.FileProviders.Abstractions.dll
Package:
Microsoft.Extensions.FileProviders.Abstractions v11.0.0-preview.5.26302.115
Source:
IFileProvider.cs
Source:
IFileProvider.cs
Source:
IFileProvider.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Enumerates 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


Feedback

Was this page helpful?