SaaS CMS has officially launched! Learn more now.

Class VersioningUtility

Provides utility methods for versioning files

Inheritance
System.Object
VersioningUtility
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
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public static class VersioningUtility

Methods

IsCheckedOutByAnotherUser(IVersioningFile)

Determines whether specified file is checked out by another user.

Declaration
public static bool IsCheckedOutByAnotherUser(IVersioningFile file)
Parameters
Type Name Description
IVersioningFile file

The versioning file.

Returns
Type Description
System.Boolean

true if specified file is checked out by another user; otherwise, false.

IsCheckedOutByCurrentUser(IVersioningFile)

Determines whether specified file is checked out by current user.

Declaration
public static bool IsCheckedOutByCurrentUser(IVersioningFile file)
Parameters
Type Name Description
IVersioningFile file

The versioning file.

Returns
Type Description
System.Boolean

true if specified file is checked out by current user; otherwise, false.