Search Results for

    Show / Hide Table of Contents
    View Source

    Class DocumentUrlService.UrlSegment

    Model used to represent a URL segment for a document in the cache.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public class UrlSegment

    Constructors

    View Source

    UrlSegment(String, Boolean)

    Initializes a new instance of the DocumentUrlService.UrlSegment class.

    Declaration
    public UrlSegment(string segment, bool isPrimary)
    Parameters
    Type Name Description
    System.String segment
    System.Boolean isPrimary

    Properties

    View Source

    IsPrimary

    Gets a value indicating whether this URL segment is the primary one for the document, language and state.

    Declaration
    public bool IsPrimary { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    Segment

    Gets the URL segment string.

    Declaration
    public string Segment { get; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UrlSegment(String, Boolean)
    • Properties
      • IsPrimary
      • Segment
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX