Class FilterElementCollection

Represents a filter configuration element collection.

Inheritance
System.Object
FilterElementCollection
Namespace: Mediachase.FileUploader.Configuration
Assembly: Mediachase.FileUploader.dll
Version: 10.8.0
Syntax
public class FilterElementCollection : ConfigurationElementCollection

Constructors

FilterElementCollection()

Initializes a new instance of the FilterElementCollection class.

Declaration
public FilterElementCollection()

Properties

Item[Int32]

Gets or sets the FilterElement at the specified index.

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

Properties

Gets the collection of properties.

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

Methods

Add(FilterElement)

Adds the specified filter item.

Declaration
public void Add(FilterElement FilterItem)
Parameters
Type Name Description
FilterElement FilterItem

The filter 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(FilterElement)

Indexes the of.

Declaration
public int IndexOf(FilterElement FilterItem)
Parameters
Type Name Description
FilterElement FilterItem

The filter item.

Returns
Type Description
System.Int32

Remove(FilterElement)

Removes the specified filter item.

Declaration
public void Remove(FilterElement FilterItem)
Parameters
Type Name Description
FilterElement FilterItem

The filter item.

Remove(String)

Removes the specified name.

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

The name.

RemoveAt(Int32)

Removes at.

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

The index.