Class RoleCollection

Collection of RoleDefinition objects

Inheritance
System.Object
RoleCollection
Namespace: Mediachase.Commerce.Marketing
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class RoleCollection : ConfigurationElementCollection

Constructors

RoleCollection()

Declaration
public RoleCollection()

Properties

Item[Int32]

Gets or sets the RoleDefinitionElement at the specified index.

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

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.