A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class MenuItemCollection

A collection of MenuItemElement.

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

Constructors

MenuItemCollection()

Declaration
public MenuItemCollection()

Methods

CreateNewElement()

When overridden in a derived class, creates a new System.Configuration.ConfigurationElement.

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

A new System.Configuration.ConfigurationElement.

GetElementKey(ConfigurationElement)

Gets the element key for a specified configuration element when overridden in a derived class.

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

An System.Object that acts as the key for the specified System.Configuration.ConfigurationElement.

Extension Methods