Class RedirectUrl
Implements IRedirect
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
[DataContract(IsReference = true)]
public class RedirectUrl : EntityBase, IRedirectUrl, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors
View SourceRedirectUrl()
Initializes a new instance of the Redirect
Declaration
public RedirectUrl()
Properties
View SourceContentId
Gets or sets the identifier of the content item.
Declaration
public int ContentId { get; set; }
Property Value
Type | Description |
---|---|
System. |
ContentKey
Gets or sets the unique key identifying the content item.
Declaration
public Guid ContentKey { get; set; }
Property Value
Type | Description |
---|---|
Guid |
CreateDateUtc
Gets or sets the redirect URL creation date.
Declaration
public DateTime CreateDateUtc { get; set; }
Property Value
Type | Description |
---|---|
Date |
Culture
Gets or sets the culture.
Declaration
public string Culture { get; set; }
Property Value
Type | Description |
---|---|
System. |
Url
Gets or sets the redirect URL route.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System. |
Remarks
Is a proper Umbraco route eg /path/to/foo or 123/path/tofoo.