Class ContentTypeElementCollection
Represents a content type configuration element collection
Inheritance
Namespace: Mediachase.FileUploader.Configuration
Assembly: Mediachase.FileUploader.dll
Version: 10.8.0Syntax
public class ContentTypeElementCollection : ConfigurationElementCollection
Constructors
ContentTypeElementCollection()
Initializes a new instance of the ContentTypeElementCollection class.
Declaration
public ContentTypeElementCollection()
Properties
Item[Int32]
Gets or sets the ContentTypeElement at the specified index.
Declaration
public ContentTypeElement this[int Index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Index |
Property Value
Type | Description |
---|---|
ContentTypeElement |
Properties
Gets the collection of properties.
Declaration
protected override ConfigurationPropertyCollection Properties { get; }
Property Value
Type | Description |
---|---|
System.Configuration.ConfigurationPropertyCollection |
Methods
Add(ContentTypeElement)
Adds the specified item.
Declaration
public void Add(ContentTypeElement Item)
Parameters
Type | Name | Description |
---|---|---|
ContentTypeElement | 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(ContentTypeElement)
Indexes the of.
Declaration
public int IndexOf(ContentTypeElement Item)
Parameters
Type | Name | Description |
---|---|---|
ContentTypeElement | Item | The item. |
Returns
Type | Description |
---|---|
System.Int32 |
Remove(ContentTypeElement)
Removes the specified item.
Declaration
public void Remove(ContentTypeElement Item)
Parameters
Type | Name | Description |
---|---|---|
ContentTypeElement | Item | The item. |
Remove(String)
Removes the specified extension.
Declaration
public void Remove(string Extension)
Parameters
Type | Name | Description |
---|---|---|
System.String | Extension | The extension. |
RemoveAt(Int32)
Removes at.
Declaration
public void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |