Interface IRedirectUrl
Represents a redirect URL.
Namespace: Umbraco.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public interface IRedirectUrl : IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Properties
View SourceContentId
Gets or sets the identifier of the content item.
Declaration
[DataMember]
int ContentId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ContentKey
Gets or sets the unique key identifying the content item.
Declaration
[DataMember]
Guid ContentKey { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
CreateDateUtc
Gets or sets the redirect URL creation date.
Declaration
[DataMember]
DateTime CreateDateUtc { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Culture
Gets or sets the culture.
Declaration
[DataMember]
string Culture { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Url
Gets or sets the redirect URL route.
Declaration
[DataMember]
string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Is a proper Umbraco route eg /path/to/foo or 123/path/tofoo.