Search Results for

    Show / Hide Table of Contents
    View Source

    Class RedirectUrl

    Implements IRedirectUrl.

    Inheritance
    System.Object
    BeingDirtyBase
    EntityBase
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(IsReference = true)]
    public class RedirectUrl : EntityBase, IRedirectUrl, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty

    Constructors

    View Source

    RedirectUrl()

    Initializes a new instance of the RedirectUrl class.

    Declaration
    public RedirectUrl()

    Properties

    View Source

    ContentId

    Gets or sets the identifier of the content item.

    Declaration
    public int ContentId { get; set; }
    Property Value
    Type Description
    System.Int32
    View Source

    ContentKey

    Gets or sets the unique key identifying the content item.

    Declaration
    public Guid ContentKey { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    CreateDateUtc

    Gets or sets the redirect URL creation date.

    Declaration
    public DateTime CreateDateUtc { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    Culture

    Gets or sets the culture.

    Declaration
    public string Culture { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Url

    Gets or sets the redirect URL route.

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

    Is a proper Umbraco route eg /path/to/foo or 123/path/tofoo.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • RedirectUrl()
    • Properties
      • ContentId
      • ContentKey
      • CreateDateUtc
      • Culture
      • Url
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX