November Happy Hour will be moved to Thursday December 5th.

Class VersionFilter

Filter class used in IContentVersionRepository List to filter which versions to retreive.

Inheritance
System.Object
VersionFilter
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.Core
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class VersionFilter

Constructors

VersionFilter()

Declaration
public VersionFilter()

Properties

ChangedBy

Specifies that only versions changes by specified users should be returned

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

Specifies that only versions for a specific content instance is to be returned

Declaration
public ContentReference ContentLink { get; set; }
Property Value
Type Description
ContentReference

ExcludeDeleted

Specifies if versions for deleted content items should be excluded

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

Default value is false

Languages

Specifies that only versions of specified language should be returned

Declaration
public IEnumerable<CultureInfo> Languages { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Globalization.CultureInfo>

Statuses

Specifies that only versions of certain statuses should be returned

Declaration
public IEnumerable<VersionStatus> Statuses { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<VersionStatus>

Extension Methods