Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

FileSystemItem Class

Namespace: Rebex.IO
Assembly: Rebex.Common.dll (version 7.0.9147)

Represents a file or directory item.

Syntax
public abstract class FileSystemItem
Inheritance
Object
FileSystemItem
ArchiveItem
LocalItem
FtpItem
SftpItem
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Properties

Name Description
CreationTime

Gets the creation time of the item.

IsDirectory

Gets a value indicating whether the item is a directory.

IsFile

Gets a value indicating whether the item is a file.

IsLink

Gets a value indicating whether the item is a link.

LastAccessTime

Gets the last access time of the item.

LastWriteTime

Gets the last modification time of the item.

Length

Gets file length.

Name

Gets the name of the file or directory.

Path

Gets the path of the file or directory. It can be relative or absolute path depending on the way of use.

Methods

Name Description
GetCreationTime()

Gets the creation time of the item.

GetLastAccessTime()

Gets the last access time of the item.

GetLastWriteTime()

Gets the last modification time of the item.

In This Article
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies