SaaS CMS has officially launched! Learn more now.

Class TemplateElementCollection

Dashboard templates collection

Inheritance
System.Object
TemplateElementCollection
Namespace: EPiServer.Shell.Configuration
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
[Obsolete("The EPiServer 6 Dashboard configuration element has been replaced with the ViewManager element.")]
public class TemplateElementCollection : ConfigurationElementCollection

Constructors

TemplateElementCollection()

Declaration
public TemplateElementCollection()

Methods

CreateNewElement()

Creates new configuratino element

Declaration
protected override ConfigurationElement CreateNewElement()
Returns
Type Description
System.Configuration.ConfigurationElement

A new TemplateElement.

GetElementKey(ConfigurationElement)

Gets the element key for a specified configuration element.

Declaration
protected override object GetElementKey(ConfigurationElement element)
Parameters
Type Name Description
System.Configuration.ConfigurationElement element

The System.Configuration.ConfigurationElement to return the key for.

Returns
Type Description
System.Object

'ForRoles' configuration attribute value that acts as the key for the specified TemplateElement.