View Source
Class ContentVersionMeta
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class ContentVersionMeta
Constructors
View Source
ContentVersionMeta()
Declaration
public ContentVersionMeta()
View Source
ContentVersionMeta(Int32, Int32, Int32, Int32, DateTime, Boolean, Boolean, Boolean, String)
Declaration
public ContentVersionMeta(int versionId, int contentId, int contentTypeId, int userId, DateTime versionDate, bool currentPublishedVersion, bool currentDraftVersion, bool preventCleanup, string username)
Parameters
| Type |
Name |
Description |
| System.Int32 |
versionId |
|
| System.Int32 |
contentId |
|
| System.Int32 |
contentTypeId |
|
| System.Int32 |
userId |
|
| DateTime |
versionDate |
|
| System.Boolean |
currentPublishedVersion |
|
| System.Boolean |
currentDraftVersion |
|
| System.Boolean |
preventCleanup |
|
| System.String |
username |
|
Properties
View Source
ContentId
Declaration
public int ContentId { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
View Source
ContentTypeId
Declaration
public int ContentTypeId { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
View Source
CurrentDraftVersion
Declaration
public bool CurrentDraftVersion { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
View Source
CurrentPublishedVersion
Declaration
public bool CurrentPublishedVersion { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
View Source
PreventCleanup
Declaration
public bool PreventCleanup { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
View Source
UserId
Declaration
public int UserId { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
View Source
Username
Declaration
public string Username { get; }
Property Value
| Type |
Description |
| System.String |
|
View Source
VersionDate
Declaration
public DateTime VersionDate { get; }
Property Value
| Type |
Description |
| DateTime |
|
View Source
VersionId
Declaration
public int VersionId { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
View Source
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|