Edit

Share via


FileSystemEntry.Directory Property

Definition

Gets the full path of the directory this entry resides in.

C#
public ReadOnlySpan<char> Directory { get; }

Property Value

The full path of this entry's directory.

Applies to

Product Versions
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.1