Class PublishedDocumentUrlSegment
Represents a URL segment for a published document.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class PublishedDocumentUrlSegment
Properties
View SourceDocumentKey
Gets or sets the document key.
Declaration
public required Guid DocumentKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
IsDraft
Gets or sets a value indicating whether the URL segment is for a draft.
Declaration
public required bool IsDraft { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsPrimary
Gets or sets a value indicating whether the URL segment is the primary one (first resolved from the collection of URL providers).
Declaration
public required bool IsPrimary { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LanguageId
Gets or sets the language Id.
Declaration
public required int LanguageId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
UrlSegment
Gets or sets the URL segment string.
Declaration
public required string UrlSegment { get; set; }
Property Value
| Type | Description |
|---|---|
| string |