November Happy Hour will be moved to Thursday December 5th.

Class PagePath

A collection of PageReferences to represents the page and it's ancestors.

Inheritance
System.Object
System.Collections.Generic.List<PageReference>
PagePath
Implements
System.Collections.Generic.IList<PageReference>
System.Collections.Generic.ICollection<PageReference>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<PageReference>
System.Collections.Generic.IReadOnlyCollection<PageReference>
System.Collections.Generic.IEnumerable<PageReference>
System.Collections.IEnumerable
Inherited Members
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.IList.get_Item(System.Int32)
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.Generic.List<EPiServer.Core.PageReference>.Add(EPiServer.Core.PageReference)
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.IList.Add(System.Object)
System.Collections.Generic.List<EPiServer.Core.PageReference>.AddRange(System.Collections.Generic.IEnumerable<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.AsReadOnly()
System.Collections.Generic.List<EPiServer.Core.PageReference>.BinarySearch(System.Int32, System.Int32, EPiServer.Core.PageReference, System.Collections.Generic.IComparer<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.BinarySearch(EPiServer.Core.PageReference)
System.Collections.Generic.List<EPiServer.Core.PageReference>.BinarySearch(EPiServer.Core.PageReference, System.Collections.Generic.IComparer<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.Clear()
System.Collections.Generic.List<EPiServer.Core.PageReference>.Contains(EPiServer.Core.PageReference)
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.IList.Contains(System.Object)
System.Collections.Generic.List<EPiServer.Core.PageReference>.ConvertAll<TOutput>(System.Converter<EPiServer.Core.PageReference, TOutput>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.CopyTo(EPiServer.Core.PageReference[])
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.List<EPiServer.Core.PageReference>.CopyTo(System.Int32, EPiServer.Core.PageReference[], System.Int32, System.Int32)
System.Collections.Generic.List<EPiServer.Core.PageReference>.CopyTo(EPiServer.Core.PageReference[], System.Int32)
System.Collections.Generic.List<EPiServer.Core.PageReference>.Exists(System.Predicate<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.Find(System.Predicate<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.FindAll(System.Predicate<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.FindIndex(System.Predicate<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.FindIndex(System.Int32, System.Predicate<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.FindIndex(System.Int32, System.Int32, System.Predicate<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.FindLast(System.Predicate<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.FindLastIndex(System.Predicate<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.FindLastIndex(System.Int32, System.Predicate<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.FindLastIndex(System.Int32, System.Int32, System.Predicate<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.ForEach(System.Action<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.GetEnumerator()
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.Generic.IEnumerable<EPiServer.Core.PageReference>.GetEnumerator()
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.List<EPiServer.Core.PageReference>.GetRange(System.Int32, System.Int32)
System.Collections.Generic.List<EPiServer.Core.PageReference>.IndexOf(EPiServer.Core.PageReference)
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.IList.IndexOf(System.Object)
System.Collections.Generic.List<EPiServer.Core.PageReference>.IndexOf(EPiServer.Core.PageReference, System.Int32)
System.Collections.Generic.List<EPiServer.Core.PageReference>.IndexOf(EPiServer.Core.PageReference, System.Int32, System.Int32)
System.Collections.Generic.List<EPiServer.Core.PageReference>.Insert(System.Int32, EPiServer.Core.PageReference)
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.Generic.List<EPiServer.Core.PageReference>.InsertRange(System.Int32, System.Collections.Generic.IEnumerable<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.LastIndexOf(EPiServer.Core.PageReference)
System.Collections.Generic.List<EPiServer.Core.PageReference>.LastIndexOf(EPiServer.Core.PageReference, System.Int32)
System.Collections.Generic.List<EPiServer.Core.PageReference>.LastIndexOf(EPiServer.Core.PageReference, System.Int32, System.Int32)
System.Collections.Generic.List<EPiServer.Core.PageReference>.Remove(EPiServer.Core.PageReference)
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.IList.Remove(System.Object)
System.Collections.Generic.List<EPiServer.Core.PageReference>.RemoveAll(System.Predicate<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.RemoveAt(System.Int32)
System.Collections.Generic.List<EPiServer.Core.PageReference>.RemoveRange(System.Int32, System.Int32)
System.Collections.Generic.List<EPiServer.Core.PageReference>.Reverse()
System.Collections.Generic.List<EPiServer.Core.PageReference>.Reverse(System.Int32, System.Int32)
System.Collections.Generic.List<EPiServer.Core.PageReference>.Sort()
System.Collections.Generic.List<EPiServer.Core.PageReference>.Sort(System.Collections.Generic.IComparer<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.Sort(System.Int32, System.Int32, System.Collections.Generic.IComparer<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.Sort(System.Comparison<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.ToArray()
System.Collections.Generic.List<EPiServer.Core.PageReference>.TrimExcess()
System.Collections.Generic.List<EPiServer.Core.PageReference>.TrueForAll(System.Predicate<EPiServer.Core.PageReference>)
System.Collections.Generic.List<EPiServer.Core.PageReference>.Capacity
System.Collections.Generic.List<EPiServer.Core.PageReference>.Count
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.IList.IsFixedSize
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.Generic.ICollection<EPiServer.Core.PageReference>.IsReadOnly
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.IList.IsReadOnly
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.List<EPiServer.Core.PageReference>.Item[System.Int32]
System.Collections.Generic.List<EPiServer.Core.PageReference>.System.Collections.IList.Item[System.Int32]
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public class PagePath : PageReferenceCollection, IList<PageReference>, ICollection<PageReference>, IList, ICollection, IReadOnlyList<PageReference>, IReadOnlyCollection<PageReference>, IEnumerable<PageReference>, IEnumerable

Constructors

PagePath()

Initializes a new instance of the PagePath class.

Declaration
public PagePath()

PagePath(IEnumerable<PageReference>)

Initializes a new instance of the PagePath class.

Declaration
public PagePath(IEnumerable<PageReference> pageLinks)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<PageReference> pageLinks

The page links for all ancestor pages to the actual page.

PagePath(Int32)

Initializes a new instance of the PagePath class.

Declaration
public PagePath(int capacity)
Parameters
Type Name Description
System.Int32 capacity

The capacity.

Methods

Parse(String)

Parses a dot seperated list of page links which represent the acestry of a page.

Declaration
public static PagePath Parse(string stringToParse)
Parameters
Type Name Description
System.String stringToParse

The string to parse

Returns
Type Description
PagePath

A new instance of PagePath.

ToString()

Generates a comma-separated list with page links

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods