Class TypeElementCollection

Represents collection of custom type elements.

Inheritance
System.Object
TypeElementCollection
Namespace: Mediachase.BusinessFoundation.Data.Meta.Configuration
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 10.8.0
Syntax
public class TypeElementCollection : ConfigurationElementCollection

Constructors

TypeElementCollection()

Initializes a new instance of the TypeElementCollection class.

Declaration
public TypeElementCollection()

Properties

Item[Int32]

Gets or sets the TypeElement at the specified index.

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

Properties

Gets the collection of properties.

Declaration
protected override ConfigurationPropertyCollection Properties { get; }
Property Value
Type Description
System.Configuration.ConfigurationPropertyCollection

Methods

Add(TypeElement)

Adds the specified item.

Declaration
public void Add(TypeElement Item)
Parameters
Type Name Description
TypeElement Item

The item.

Clear()

Clears this instance.

Declaration
public void Clear()

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.

IndexOf(TypeElement)

Indexes the of.

Declaration
public int IndexOf(TypeElement Item)
Parameters
Type Name Description
TypeElement Item

The item.

Returns
Type Description
System.Int32

Remove(TypeElement)

Removes the specified item.

Declaration
public void Remove(TypeElement Item)
Parameters
Type Name Description
TypeElement Item

The item.

Remove(String)

Removes the specified extension.

Declaration
public void Remove(string MetaClassName)
Parameters
Type Name Description
System.String MetaClassName

Name of the meta class.

RemoveAt(Int32)

Removes at.

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
System.Int32 index

The index.