Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentVersionMeta

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models
    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
    Type Description
    int
    View Source

    ContentTypeId

    Declaration
    public int ContentTypeId { get; }
    Property Value
    Type Description
    int
    View Source

    CurrentDraftVersion

    Declaration
    public bool CurrentDraftVersion { get; }
    Property Value
    Type Description
    bool
    View Source

    CurrentPublishedVersion

    Declaration
    public bool CurrentPublishedVersion { get; }
    Property Value
    Type Description
    bool
    View Source

    PreventCleanup

    Declaration
    public bool PreventCleanup { get; }
    Property Value
    Type Description
    bool
    View Source

    UserId

    Declaration
    public int UserId { get; }
    Property Value
    Type Description
    int
    View Source

    Username

    Declaration
    public string? Username { get; }
    Property Value
    Type Description
    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
    int

    Methods

    View Source

    EnsureUtc()

    Declaration
    public void EnsureUtc()
    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.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX