NotFoundFileInfo Class¶
Represents a non-existing file.
- Namespace
Microsoft.Extensions.FileProviders
- Assemblies
- Microsoft.Extensions.FileProviders.Abstractions
Syntax¶
public class NotFoundFileInfo : IFileInfo
-
class
Microsoft.Extensions.FileProviders.
NotFoundFileInfo
Constructors¶
-
NotFoundFileInfo
(System.String)¶ public NotFoundFileInfo(string name)
-
Properties¶
-
Microsoft.Extensions.FileProviders.NotFoundFileInfo.
Exists
¶ Return type: System.Boolean public bool Exists { get; }
-
Microsoft.Extensions.FileProviders.NotFoundFileInfo.
IsDirectory
¶ Return type: System.Boolean public bool IsDirectory { get; }
-
Microsoft.Extensions.FileProviders.NotFoundFileInfo.
LastModified
¶ Return type: System.DateTimeOffset public DateTimeOffset LastModified { get; }
-
Microsoft.Extensions.FileProviders.NotFoundFileInfo.
Length
¶ Return type: System.Int64 public long Length { get; }
-
Microsoft.Extensions.FileProviders.NotFoundFileInfo.
Name
¶ Return type: System.String public string Name { get; }
-
Microsoft.Extensions.FileProviders.NotFoundFileInfo.
PhysicalPath
¶ Return type: System.String public string PhysicalPath { get; }
-