Skip to content

Reference

OpcNodeIdCollection Members

Represents a collection of OpcNodeId instances.

Reference

OpcNodeIdCollection Members ​

Type
OpcNodeIdCollection
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from Collection<OpcNodeId>.

Constructors ​

OpcNodeIdCollection ​

2 overloads

OverloadDescription
OpcNodeIdCollection()Initializes a new instance of the OpcNodeIdCollection class.
OpcNodeIdCollection(IList<OpcNodeId>)Initializes a new instance of the OpcNodeIdCollection class as a wrapper for the specified list.

OpcNodeIdCollection() ​

Initializes a new instance of the OpcNodeIdCollection class.

csharp
public OpcNodeIdCollection()
vbnet
Public Sub New()

OpcNodeIdCollection(IList<OpcNodeId>) ​

Initializes a new instance of the OpcNodeIdCollection class as a wrapper for the specified list.

csharp
public OpcNodeIdCollection(IList<OpcNodeId> list)
vbnet
Public Sub New(list As IList(Of OpcNodeId))

Parameters

NameTypeDescription
listIList<OpcNodeId>The IList<T> of OpcNodeId values to wrap.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe list is a null reference (Nothing in Visual Basic).

Methods ​

ClearItems ​

protected · override

Removes all elements from the collection.

csharp
protected override void ClearItems()
vbnet
Protected Overrides Sub ClearItems()

Overrides

ClearItems()

InsertItem ​

protected · override

Inserts the item into the collection at the index specified.

csharp
protected override void InsertItem(int index, OpcNodeId item)
vbnet
Protected Overrides Sub InsertItem(index As Integer, item As OpcNodeId)

Parameters

NameTypeDescription
indexInt32The zero-based index at which the item is to be inserted.
itemOpcNodeIdThe OpcNodeId to insert.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionThe index is less than zero or greater than the number of elements in the collection.

Overrides

InsertItem(int, OpcNodeId)

RemoveItem ​

protected · override

Removes the element at the index specified from the collection.

csharp
protected override void RemoveItem(int index)
vbnet
Protected Overrides Sub RemoveItem(index As Integer)

Parameters

NameTypeDescription
indexInt32The zero-based index of the element to remove.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionThe index is less than zero or equal to or greater than the number of elements in the collection.

Overrides

RemoveItem(int)

SetItem ​

protected · override

Replaces the element at the index specified with the item.

csharp
protected override void SetItem(int index, OpcNodeId item)
vbnet
Protected Overrides Sub SetItem(index As Integer, item As OpcNodeId)

Parameters

NameTypeDescription
indexInt32The zero-based index of the element to replace.
itemOpcNodeIdThe new OpcNodeId at the index.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionThe index is less than zero or equal to or greater than the number of elements in the collection.

Overrides

SetItem(int, OpcNodeId)