Class RedirectUrl
Implements IRedirectUrl.
Namespace: Umbraco.Core.Models
Assembly: Umbraco.Core.dll
Syntax
[Serializable]
[DataContract(IsReference = true)]
public class RedirectUrl : EntityBase, IRedirectUrl, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors
View SourceRedirectUrl()
Initializes a new instance of the RedirectUrl class.
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.Int32 |
ContentKey
Gets or sets the unique key identifying the content item.
Declaration
public Guid ContentKey { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
CreateDateUtc
Gets or sets the redirect URL creation date.
Declaration
public DateTime CreateDateUtc { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Culture
Gets or sets the culture.
Declaration
public string Culture { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.