FileSystemEntry Struct

Definition

Provides a lower level view of FileSystemInfo to help process and filter find results.

public value class FileSystemEntry
public struct FileSystemEntry
type FileSystemEntry = struct
Public Structure FileSystemEntry
Inheritance
FileSystemEntry

Properties

Attributes

Gets the attributes for this entry.

CreationTimeUtc

Gets the creation time for the entry or the oldest available time stamp if the operating system does not support creation time stamps.

Directory

Gets the full path of the directory this entry resides in.

FileName

Gets the file name for this entry.

IsDirectory

Gets a value that indicates whether this entry is a directory.

IsHidden

Gets a value that indicates whether the file has the hidden attribute.

LastAccessTimeUtc

Gets a datetime offset that represents the last access time in UTC.

LastWriteTimeUtc

Gets a datetime offset that represents the last write time in UTC.

Length

Gets the length of the file, in bytes.

OriginalRootDirectory

Gets the root directory for the enumeration as specified in the constructor.

RootDirectory

Gets the full path of the root directory used for the enumeration.

Methods

ToFileSystemInfo()

Converts the value of this instance to a FileSystemInfo.

ToFullPath()

Returns the full path of the find result.

ToSpecifiedFullPath()

Returns the full path for the find results, based on the initially provided path.

Applies to