Class RoleCollection
Collection of RoleDefinition objects
Inheritance
System.Object
RoleCollection
Namespace: Mediachase.Commerce.Core
Assembly: Mediachase.Commerce.dll
Version: 13.30.0Syntax
public class RoleCollection : ConfigurationElementCollection
Constructors
RoleCollection()
Declaration
public RoleCollection()
Properties
Item[Int32]
Gets or sets the Role
Declaration
public RoleDefinition this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System. |
index |
Property Value
Type | Description |
---|---|
Role |
Methods
CreateNewElement()
When overridden in a derived class, creates a new System.
Declaration
protected override ConfigurationElement CreateNewElement()
Returns
Type | Description |
---|---|
System. |
A new System. |
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. |
element | The System. |
Returns
Type | Description |
---|---|
System. |
An System. |