PhysicalFileInfo 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 file on a physical filesystem
public ref class PhysicalFileInfo : Microsoft::Extensions::FileProviders::IFileInfo
public class PhysicalFileInfo : Microsoft.Extensions.FileProviders.IFileInfo
type PhysicalFileInfo = class
interface IFileInfo
Public Class PhysicalFileInfo
Implements IFileInfo
- Inheritance
-
PhysicalFileInfo
- Implements
Physical |
Initializes an instance of PhysicalFileInfo that wraps an instance of FileInfo |
Exists |
Determines if the resource exists in the underlying system. |
Is |
Always false. |
Last |
Gets the last time the file was modified. |
Length |
The length of the file in bytes, or -1 for a directory or non-existing files. |
Name |
The name of the file or directory, not including any path. |
Physical |
The path to the file, including the file name. Return |
Create |
Returns the file contents as a read-only stream. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Produk | Versi |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 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 maklum balas
.NET ialah projek sumber terbuka. Pilih pautan untuk memberikan maklum balas: