Class FileItem

Represents a single file

Inheritance
System.Object
FileItem
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Hosting.Versioning.Store
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class FileItem : IItem

Properties

Changed

Gets or sets the date when the file was changed.

Declaration
public DateTime Changed { get; set; }
Property Value
Type Description
System.DateTime

The changed.

ChangedBy

Gets or sets the user who changed the file.

Declaration
public string ChangedBy { get; set; }
Property Value
Type Description
System.String

The changed by.

CheckedoutRevision

Gets or sets the checkedout revision for the versioned file

Declaration
public FileRevision CheckedoutRevision { get; set; }
Property Value
Type Description
FileRevision

The checkedout revision.

Created

Gets or sets the created date for the file

Declaration
public DateTime Created { get; set; }
Property Value
Type Description
System.DateTime

The created.

CreatedBy

Gets or sets the user who created the file

Declaration
public string CreatedBy { get; set; }
Property Value
Type Description
System.String

The created by.

DefaultRevision

Gets or sets the default revision for the versioned file

Declaration
public FileRevision DefaultRevision { get; set; }
Property Value
Type Description
FileRevision

The default revision.

Id

Gets or sets the unique id for the file.

Declaration
public object Id { get; set; }
Property Value
Type Description
System.Object

The id.

Name

Gets or sets the name of this item.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name.

PendingIndexing

Gets or sets a value indicating whether the file is waiting to be indexed.

Declaration
public bool PendingIndexing { get; set; }
Property Value
Type Description
System.Boolean

true if [pending indexing]; otherwise, false.

VersionCounter

Gets or sets the number of versions for the file

Declaration
public int VersionCounter { get; set; }
Property Value
Type Description
System.Int32

The version counter.

Implements

Extension Methods