Table of Contents

PlcDataNodeCollection Class

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll

Represents a collection of PlcDataNode objects.

C#

public class PlcDataNodeCollection : KeyedCollection<PlcType, PlcDataNode>, IList<PlcDataNode>, ICollection<PlcDataNode>, IList, ICollection, IReadOnlyList<PlcDataNode>, IReadOnlyCollection<PlcDataNode>, IEnumerable<PlcDataNode>, IEnumerable


Inheritance ObjectCollection<PlcDataNode> › KeyedCollection<PlcType, PlcDataNode> › PlcDataNodeCollection


Implements IList<PlcDataNode>, ICollection<PlcDataNode>, IList, ICollection, IReadOnlyList<PlcDataNode>, IReadOnlyCollection<PlcDataNode>, IEnumerable<PlcDataNode>, IEnumerable

Constructors

Name Description
PlcDataNodeCollection Initializes a new instance of the PlcDataNodeCollection class.
PlcDataNodeCollection(PlcDataNode) Initializes a new instance of the PlcDataNodeCollection class.
PlcDataNodeCollection(PlcDataNode, IEnumerable) Initializes a new instance of the PlcDataNodeCollection class using the owner and items specified.

Properties

Name Description
Owner Gets the owner of the collection objects.

Methods

Name Description
ClearItems Removes all elements from the PlcDataNodeCollection.
GetKeyForItem(PlcDataNode) Extracts the key from the specified element.
InsertItem(Int32, PlcDataNode) Inserts an element into the PlcDataNodeCollection at the specified index.
RemoveItem(Int32) Removes the element at the specified index of the PlcDataNodeCollection.
SetItem(Int32, PlcDataNode) Replaces the item at the specified index with the specified item.