FileInfoBase 类
定义
表示文件。Represents a file.
public ref class FileInfoBase abstract : Microsoft::Extensions::FileSystemGlobbing::Abstractions::FileSystemInfoBase
public abstract class FileInfoBase : Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase
type FileInfoBase = class
inherit FileSystemInfoBase
Public MustInherit Class FileInfoBase
Inherits FileSystemInfoBase
- 继承
- 派生
构造函数
| FileInfoBase() |
属性
| FullName |
包含文件或目录的完整路径的字符串。A string containing the full path of the file or directory. (继承自 FileSystemInfoBase) |
| Name |
包含文件或目录名称的字符串。A string containing the name of the file or directory. (继承自 FileSystemInfoBase) |
| ParentDirectory |
当前文件或目录的父目录。The parent directory for the current file or directory. (继承自 FileSystemInfoBase) |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |