FileSystemItem Class

Represents a file or directory in a file system.

Inheritance Hierarchy

Syntax

public class FileSystemItem

Constructors

Name Description
FileSystemItem

Initializes a new instance of the FileSystemItem class.

Properties

Name Description
IsDirectory

Gets a value indicating whether this item is a directory.

LastModifyTime

Gets the modification timestamp of the item.

Name

Gets the name of the file or directory.

Size

Gets the size of the file.