Class RedirectUrl
Implements IRedirectUrl.
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
[Serializable]
[DataContract(IsReference = true)]
public class RedirectUrl : Entity, IRedirectUrl, IAggregateRoot, IDeletableEntity, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors
RedirectUrl()
Initializes a new instance of the RedirectUrl class.
Declaration
public RedirectUrl()
Properties
ContentId
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 |
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.