PhysicalDirectoryInfo Class
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.
Represents a directory on a physical file system.
public ref class PhysicalDirectoryInfo : Microsoft::Extensions::FileProviders::IDirectoryContents, Microsoft::Extensions::FileProviders::IFileInfo, System::Collections::Generic::IEnumerable<Microsoft::Extensions::FileProviders::IFileInfo ^>
public class PhysicalDirectoryInfo : Microsoft.Extensions.FileProviders.IDirectoryContents, Microsoft.Extensions.FileProviders.IFileInfo, System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileInfo>
type PhysicalDirectoryInfo = class
interface IFileInfo
interface IDirectoryContents
interface seq<IFileInfo>
interface IEnumerable
Public Class PhysicalDirectoryInfo
Implements IDirectoryContents, IEnumerable(Of IFileInfo), IFileInfo
- Inheritance
-
PhysicalDirectoryInfo
- Implements
Physical |
Initializes an instance of PhysicalDirectoryInfo that wraps an instance of DirectoryInfo. |
Exists |
Gets a value that indicates if the resource exists in the underlying storage system. |
Is |
Gets a value that's always |
Last |
Gets the time when the directory was last written to. |
Length |
Gets a value that's always -1. |
Name |
Gets the name of the file or directory, excluding the path. |
Physical |
Gets the full path to the file, including the file name. |
Create |
Always throws an exception because read streams are not support on directories. |
Get |
Returns an enumerator that iterates through the collection. |
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: