Click or drag to resize

File Class

A Title child document that represents a file stored on digital media such as data CD or DVD. A Title contains a collection of child File documents.
Inheritance Hierarchy
SystemObject
  Orthogonal.Hoarder.StdLib.EntityFile

Namespace: Orthogonal.Hoarder.StdLib.Entity
Assembly: Orthogonal.Hoarder.StdLib (in Orthogonal.Hoarder.StdLib.dll) Version: 8.0.17
Syntax
C#
[SerializableAttribute]
public class File : IEquatable<File>

The File type exposes the following members.

Constructors
 NameDescription
Public methodFileInitializes a new instance of the File class
Public methodFile(String)Initializes a new instance of the File class
Top
Properties
 NameDescription
Public propertyAttrs A string representation of the attributes of the file. Each attribute is represented by one familiar character, so a value like "RA" indicates that the file is (R)ead only and modied and ready to be (A)rchived. For more information see NTFS.
Public propertyComment An arbitrary comment annotation for the file.
Public propertyFullname The combined optional path and file name of the file on the digital media. There is no drive letter. A typical value would be April report.docx for a file in the root folder of the media, or Reports/April/2024/purchases.xlsx for a file in a subdirectory.
Public propertyLength The length of the file in bytes.
Public propertyPartSequence If a Title is composed of multiple parts, then this value indicates which part contains the file. The sequence is 1-based. Most titles contain a single part, in which case the part sequence is 1.
Top
Methods
See Also