View Source
Class ContentVersionMeta
Assembly: Umbraco.Core.dll
Syntax
public class ContentVersionMeta
Constructors
View Source
ContentVersionMeta()
Declaration
public ContentVersionMeta()
View Source
ContentVersionMeta(int, int, int, int, DateTime, bool, bool, bool, 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 |
| int |
versionId |
|
| int |
contentId |
|
| int |
contentTypeId |
|
| int |
userId |
|
| DateTime |
versionDate |
|
| bool |
currentPublishedVersion |
|
| bool |
currentDraftVersion |
|
| bool |
preventCleanup |
|
| string |
username |
|
Properties
View Source
ContentId
Declaration
public int ContentId { get; }
Property Value
View Source
ContentTypeId
Declaration
public int ContentTypeId { get; }
Property Value
View Source
CurrentDraftVersion
Declaration
public bool CurrentDraftVersion { get; }
Property Value
View Source
CurrentPublishedVersion
Declaration
public bool CurrentPublishedVersion { get; }
Property Value
View Source
PreventCleanup
Declaration
public bool PreventCleanup { get; }
Property Value
View Source
UserId
Declaration
public int UserId { get; }
Property Value
View Source
Username
Declaration
public string? Username { get; }
Property Value
View Source
VersionDate
Declaration
public DateTime VersionDate { get; }
Property Value
| Type |
Description |
| DateTime |
|
View Source
VersionId
Declaration
public int VersionId { get; }
Property Value
Methods
View Source
EnsureUtc()
Declaration
View Source
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type |
Description |
| string |
A string that represents the current object.
|