Show / Hide Table of Contents

    Class DataPropertyCollection

    Represents a serializable collection of name/value properties.

    Inheritance
    Object
    Collection<DataProperty>
    DataPropertyCollection
    Implements
    IList<DataProperty>
    ICollection<DataProperty>
    IList
    ICollection
    IReadOnlyList<DataProperty>
    IReadOnlyCollection<DataProperty>
    IEnumerable<DataProperty>
    IEnumerable
    Inherited Members
    Collection<DataProperty>.Add(DataProperty)
    Collection<DataProperty>.Clear()
    Collection<DataProperty>.CopyTo(DataProperty[], Int32)
    Collection<DataProperty>.Contains(DataProperty)
    Collection<DataProperty>.GetEnumerator()
    Collection<DataProperty>.IndexOf(DataProperty)
    Collection<DataProperty>.Insert(Int32, DataProperty)
    Collection<DataProperty>.Remove(DataProperty)
    Collection<DataProperty>.RemoveAt(Int32)
    Collection<DataProperty>.ClearItems()
    Collection<DataProperty>.InsertItem(Int32, DataProperty)
    Collection<DataProperty>.RemoveItem(Int32)
    Collection<DataProperty>.SetItem(Int32, DataProperty)
    Collection<DataProperty>.IEnumerable.GetEnumerator()
    Collection<DataProperty>.ICollection.CopyTo(Array, Int32)
    System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.IList.get_Item(System.Int32)
    System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.IList.set_Item(System.Int32, System.Object)
    Collection<DataProperty>.IList.Add(Object)
    Collection<DataProperty>.IList.Contains(Object)
    Collection<DataProperty>.IList.IndexOf(Object)
    Collection<DataProperty>.IList.Insert(Int32, Object)
    Collection<DataProperty>.IList.Remove(Object)
    Collection<DataProperty>.Count
    Collection<DataProperty>.Items
    Collection<DataProperty>.Item[Int32]
    Collection<DataProperty>.ICollection<DataProperty>.IsReadOnly
    Collection<DataProperty>.ICollection.IsSynchronized
    Collection<DataProperty>.ICollection.SyncRoot
    Collection<DataProperty>.IList.Item[Int32]
    Collection<DataProperty>.IList.IsReadOnly
    Collection<DataProperty>.IList.IsFixedSize
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class DataPropertyCollection : Collection<DataProperty>, IList<DataProperty>, ICollection<DataProperty>, IList, ICollection, IReadOnlyList<DataProperty>, IReadOnlyCollection<DataProperty>, IEnumerable<DataProperty>, IEnumerable

    Constructors

    DataPropertyCollection()

    Initializes an empty instance.

    Declaration
    public DataPropertyCollection()

    DataPropertyCollection(IDictionary<String, Object>)

    Initializes a new instance and populates if from the provided dictionary.

    Declaration
    public DataPropertyCollection(IDictionary<string, object> properties)
    Parameters
    Type Name Description
    IDictionary<String, Object> properties

    Dictionary to be initialized from.

    Methods

    Add(String, Object)

    Adds new property to provided collection.

    Declaration
    public void Add(string name, object value)
    Parameters
    Type Name Description
    String name

    Property name.

    Object value

    Property value.

    Deserialize(String)

    Deserializes collection of properties from the provided XML string.

    Declaration
    public static DataPropertyCollection Deserialize(string value)
    Parameters
    Type Name Description
    String value

    XML string representing a serialized collection of properties.

    Returns
    Type Description
    DataPropertyCollection

    Collection of properties deserialized from the provided XML string.

    Serialize()

    Serializes collection to an XML string.

    Declaration
    public string Serialize()
    Returns
    Type Description
    String

    XML string representing this collection.

    Implements

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