Skip to content

Reference

OpcAddNodeCollection Members

Defines a collection for OpcAddNode instances.

Reference

OpcAddNodeCollection Members ​

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

Inherits members from Collection<OpcAddNode>.

Constructors ​

OpcAddNodeCollection ​

Initializes a new instance of the OpcAddNodeCollection class.

csharp
public OpcAddNodeCollection()
vbnet
Public Sub New()

Methods ​

InsertItem ​

protected · override · since v2.9

Inserts the item into the collection at the index specified.

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

Parameters

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

Exceptions

ExceptionCondition
ArgumentExceptionThe collection accepts only commands of certain node categories (e.g. the Children) and the Category of the item is not one of them.
ArgumentOutOfRangeExceptionThe index is less than zero or greater than the number of commands in the collection.

Overrides

InsertItem(int, OpcAddNode)

SetItem ​

protected · override · since v2.9

Replaces the command at the index specified with the item.

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

Parameters

NameTypeDescription
indexInt32The zero-based index of the command to replace.
itemOpcAddNodeThe OpcAddNode to set at the index.

Exceptions

ExceptionCondition
ArgumentExceptionThe collection accepts only commands of certain node categories (e.g. the Children) and the Category of the item is not one of them.
ArgumentOutOfRangeExceptionThe index is less than zero or not less than the number of commands in the collection.

Overrides

SetItem(int, OpcAddNode)