Class DynamicPropertyLookup
A class that will find dynamic property values for a specific page.
Inheritance
System.Object
DynamicPropertyLookup
Implements
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
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class DynamicPropertyLookup : IDynamicPropertyLookup
Constructors
DynamicPropertyLookup(DynamicPropertyCollection)
Initializes a new instance of the DynamicPropertyLookup class.
Declaration
public DynamicPropertyLookup(DynamicPropertyCollection properties)
Parameters
Type | Name | Description |
---|---|---|
DynamicPropertyCollection | properties | The dynamic properties defined for this site. |
Methods
FindDynamicProperty(String, PropertyDataCollection)
Finds the dynamic property.
Declaration
public PropertyData FindDynamicProperty(string name, PropertyDataCollection properties)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the property. |
PropertyDataCollection | properties | The properties of the page that requests the dynamic property value. |
Returns
Type | Description |
---|---|
PropertyData | A PropertyData with the dynamic property information, or null if not found. |