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

Class PropertyDataExtensions

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Internal helper extensions useful when working with PropertyData

Inheritance
System.Object
PropertyDataExtensions
Inherited Members
System.Object.ToString()
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.Internal
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public static class PropertyDataExtensions

Methods

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets a reference to the page where this property is used on.

Declaration
public static ContentReference GetContentLink(this PropertyData propertyData)
Parameters
Type Name Description
PropertyData propertyData

The object this method extends.

Returns
Type Description
ContentReference

A reference to the page where this property is used on.

We will first see if we can find a PageLink property in the collection of properties this belongs too. If we can't, we will try to get one from the executing http handler. If neither is successful, we return an empty string.