OpcReadOnlyNodeCollection Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

Provides a read-only collection of IOpcNode instances accessible by their Id or just using an index.

C#

public class OpcReadOnlyNodeCollection : IList<IOpcNode>, ICollection<IOpcNode>, IEnumerable<IOpcNode>, IList, ICollection, IEnumerable


Inheritance Object › OpcReadOnlyNodeCollection


Implements IList<IOpcNode>, ICollection<IOpcNode>, IEnumerable<IOpcNode>, IList, ICollection, IEnumerable

Name Description
Count Gets the number of nodes contained in the OpcReadOnlyNodeCollection instance.
Empty Gets an empty instance used in cases there the concrete collection does not yet exists.
Item(Int32) Gets the node at the specified index.
Item(OpcNodeId) Gets the node at the specified index.
Items Gets the IList´1 that the OpcReadOnlyNodeCollection wraps.
Name Description
Contains(IOpcNode) Determines whether a node is in the OpcReadOnlyNodeCollection.
Contains(OpcNodeId) Determines whether a node with the id specified is in the OpcReadOnlyNodeCollection.
CopyTo(IOpcNode, Int32) Copies the entire OpcReadOnlyNodeCollection to a compatible one-dimensional Array, starting at the specified index of the target array.
GetEnumerator Returns an enumerator that iterates through the OpcReadOnlyNodeCollection.
IndexOf(IOpcNode) Searches for the specified object and returns the zero-based index of the first occurrence within the entire OpcReadOnlyNodeCollection.
TryGet(OpcNodeId, IOpcNode@) Tries to determine the item associated with the specified id.