Show / Hide Table of Contents

Class PhoenixFileSystemInfoBase

Contains the data for a directory.

Inheritance
System.Object
PhoenixFileSystemInfoBase
PhoenixDirectoryInfo
PhoenixFileInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.DeviceStorage
Assembly: Phoenix.Abstractions.DeviceStorage.dll
Syntax
public abstract class PhoenixFileSystemInfoBase

Constructors

View Source

PhoenixFileSystemInfoBase(PhoenixPath)

Initializes a new instance of the PhoenixFileSystemInfoBase class.

Declaration
protected PhoenixFileSystemInfoBase(PhoenixPath path)
Parameters
Type Name Description
PhoenixPath path

The PhoenixPath this file system item is for.

Properties

View Source

Attributes

Gets or sets the attributes.

Declaration
public FileAttributes Attributes { get; set; }
Property Value
Type Description
System.IO.FileAttributes
View Source

Available

Gets or sets a value indicating whether this FileSystemInfo item is currently available.

Declaration
public bool Available { get; set; }
Property Value
Type Description
System.Boolean
View Source

CreationTime

Gets or sets the creation time of the file or directory.

Declaration
public DateTime CreationTime { get; set; }
Property Value
Type Description
System.DateTime
View Source

DirectoryName

Gets the directory path this item is contained in.

Declaration
public string DirectoryName { get; }
Property Value
Type Description
System.String
View Source

FileSystemType

Gets the file system type this item is.

Declaration
public PhoenixIOType FileSystemType { get; }
Property Value
Type Description
PhoenixIOType
View Source

FullName

Gets the full name of the file or directory.

Declaration
public string FullName { get; }
Property Value
Type Description
System.String
View Source

LastAccessTime

Gets or sets the last access time of the file or directory.

Declaration
public DateTime LastAccessTime { get; set; }
Property Value
Type Description
System.DateTime
View Source

LastWriteTime

Gets or sets the last write time of the file or directory.

Declaration
public DateTime LastWriteTime { get; set; }
Property Value
Type Description
System.DateTime
View Source

Length

Gets or sets the length of the file in bytes.

Declaration
public long Length { get; set; }
Property Value
Type Description
System.Int64
View Source

Metadata

Gets the metadata that may come extra with a file.

Declaration
public Dictionary<string, string> Metadata { get; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.String>
View Source

Name

Gets the name of the file or directory.

Declaration
public string Name { get; }
Property Value
Type Description
System.String
View Source

PhoenixPath

Gets the PhoenixPath for this file system object.

Declaration
public PhoenixPath PhoenixPath { get; }
Property Value
Type Description
PhoenixPath
View Source

ReadOnly

Gets or sets a value indicating whether this FileSystemInfo item is readonly or not.

Declaration
public bool ReadOnly { get; set; }
Property Value
Type Description
System.Boolean
  • View Source
In This Article
Back to top Generated by DocFX