Class ValueElementCollection
Represents a collection of ValueElement configuration elements in the application configuration file.
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 | 
|---|---|
| Boolean | 
Methods
CreateNewElement()
Creates a new ConfigurationElement.
Declaration
protected override ConfigurationElement CreateNewElement()
  Returns
| Type | Description | 
|---|---|
| ConfigurationElement | A new ConfigurationElement.  | 
      
GetElementKey(ConfigurationElement)
Gets the element key for a specified configuration element.
Declaration
protected override object GetElementKey(ConfigurationElement element)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ConfigurationElement | element | The ConfigurationElement to return the key for.  | 
      
Returns
| Type | Description | 
|---|---|
| Object | An object that acts as the key for the specified ConfigurationElement.  | 
      
Overrides
Nevatech.Vsb.Repository.Configuration.ConfigurationElementCollectionBase<Nevatech.Vsb.Repository.Configuration.ValueElement>.GetElementKey(System.Configuration.ConfigurationElement)