Class ValueElementCollection
Represents a collection of ValueElement configuration elements in the application configuration file.
Implements
System.Collections.Generic.IList<ValueElement>
System.Collections.Generic.ICollection<ValueElement>
System.Collections.Generic.IEnumerable<ValueElement>
System.Collections.IEnumerable
Inherited Members
Namespace: Nevatech.Vsb.Repository.Configuration
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class ValueElementCollection : ConfigurationElementCollectionBase<ValueElement>, IList<ValueElement>, ICollection<ValueElement>, IEnumerable<ValueElement>, IEnumerable
Constructors
ValueElementCollection()
Declaration
public ValueElementCollection()
Properties
ThrowOnDuplicate
Gets a value indicating whether an attempt to add a duplicate element to the collection will cause an exception to be thrown.
Declaration
protected override bool ThrowOnDuplicate { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
CreateNewElement()
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.
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 object that acts as the key for the specified System.Configuration.ConfigurationElement. |
Overrides
Nevatech.Vsb.Repository.Configuration.ConfigurationElementCollectionBase<Nevatech.Vsb.Repository.Configuration.ValueElement>.GetElementKey(System.Configuration.ConfigurationElement)
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable