Class ViewElementCollection

Defines a collection of ViewElements.

Inheritance
System.Object
ViewElementCollection
Namespace: EPiServer.Shell.Configuration
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
public class ViewElementCollection : ConfigurationElementCollection

Constructors

ViewElementCollection()

Declaration
public ViewElementCollection()

Methods

CreateNewElement()

Creates a new ViewElement.

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

A new ViewElement.

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

'Name' configuration attribute value that acts as the key for the specified ViewElement.