Class RoleElementCollection

Collection of RoleDefinition objects

Inheritance
System.Object
RoleElementCollection
Namespace: Mediachase.Commerce.Security.Configuration
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class RoleElementCollection : ConfigurationElementCollection

Constructors

RoleElementCollection()

Declaration
public RoleElementCollection()

Properties

Item[Int32]

Gets or sets the RoleDefinitionElement at the specified index.

Declaration
public RoleDefinitionElement this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
RoleDefinitionElement

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.