File object
A File object stores information about a file or a folder. To access a File object you have to use the Get property, that retrieves a Files collection. The Files object contains a collection of File objects. For instance the following sample shows how to select by code the "WinNT" folder: ExFileView1.Get(AllItems)("WinNT").Selected = True. The File object supports the following properties and methods.

NameDescription
AccessedRetrieves the date when the file was last read from, written to, or for executable files, run.
BackColorReturns or sets the background color of the file.
BoldSpecifies whether the file should appear in bold.
CheckedSpecifies whether the file is checked or unchecked.
ChildrenReturns a collection with child objects of the current object.
CreatedRetrieves the date when the file or directory was created.
FolderSpecifies whether the object is a file or a folder.
ForeColorReturns or sets the foreground color of the file.
FullNameRetrieves the full name of the file.
GhostedReturns or sets a value that determines whether a file appears as unavailable (it appears dimmed).
ModifiedRetrieves the date when the file was last written to, truncated, or overwritten.
NameRetrieves the file's name.
ParseNameRetrieves the file's parse name.
RelativeNameRetrieves the relative name of the file.
SelectedSpecifies whether the file is selected or unselected.
SizeRetrieves the size of the file.
StateIndicates the file's changed state.
TypeRetrieves or sets a value that indicates the string gets displayed on the Type column.