Show / Hide Table of Contents

    Class ValueElementCollection

    Represents a collection of ValueElement configuration elements in the application configuration file.

    Inheritance
    Object
    ConfigurationElementCollectionBase<ValueElement>
    ValueElementCollection
    Implements
    IList<ValueElement>
    ICollection<ValueElement>
    IEnumerable<ValueElement>
    IEnumerable
    Inherited Members
    ConfigurationElementCollectionBase<ValueElement>.SerializeElement(XmlWriter, Boolean)
    ConfigurationElementCollectionBase<ValueElement>.IndexOf(ValueElement)
    ConfigurationElementCollectionBase<ValueElement>.Insert(Int32, ValueElement)
    ConfigurationElementCollectionBase<ValueElement>.RemoveAt(Int32)
    ConfigurationElementCollectionBase<ValueElement>.Add(ValueElement)
    ConfigurationElementCollectionBase<ValueElement>.Clear()
    ConfigurationElementCollectionBase<ValueElement>.Contains(ValueElement)
    ConfigurationElementCollectionBase<ValueElement>.CopyTo(ValueElement[], Int32)
    ConfigurationElementCollectionBase<ValueElement>.Remove(ValueElement)
    ConfigurationElementCollectionBase<ValueElement>.GetEnumerator()
    ConfigurationElementCollectionBase<ValueElement>.Item[Int32]
    ConfigurationElementCollectionBase<ValueElement>.IsReadOnly
    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)

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Back to top Nevatech Sentinet 6.5 Online Documentation