Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll
Provides an abstract generic base class for IOpcContainer´1 items their content is maintained in a different list which is to be used as the content of the collection like TItem
uses the TItemContent
instances in TItemContentList
.
C#
public abstract class OpcCollection<TItem, TItemContent, TItemContentList> : Collection<TItem>, IList<TItem>, ICollection<TItem>, IList, ICollection, IReadOnlyList<TItem>, IReadOnlyCollection<TItem>, IEnumerable<TItem>, IEnumerable, IList<TItemContent>, new()
Inheritance Object › Collection<m> › OpcCollection<TItem, TItemContent, TItemContentList>
Derived
Implements IList<m>, ICollection<m>, IList, ICollection, IReadOnlyList<m>, IReadOnlyCollection<m>, IEnumerable<m>, IEnumerable
Name | Description |
---|---|
OpcCollection`3 | Initializes a new instance of the OpcCollection´3 class. |
OpcCollection`3(IList) | Initializes a new instance of the OpcCollection´3 class as a wrapper for the specified list . |
Name | Description |
---|---|
ClearItems | Removes all elements from the OpcCollection´3. |
InsertItem(Int32, 0) | Inserts an element into the OpcCollection´3 at the specified index. |
RemoveItem(Int32) | Removes the element at the specified index of the OpcCollection´3. |
SetItem(Int32, 0) | Replaces the element at the specified index. |