OPC Studio User's Guide and Reference
Add(UAEndpointDescriptorCollection,UAEndpointDescriptorCollection) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAEndpointDescriptorCollection Class > Add Method : Add(UAEndpointDescriptorCollection,UAEndpointDescriptorCollection) Method
First endpoint descriptor collection.

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Second endpoint descriptor collection.

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Produces the set union of two endpoint descriptor collections.
Syntax

Parameters

first
First endpoint descriptor collection.

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

second
Second endpoint descriptor collection.

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Return Value

An endpoint descriptor collection that contains elements from both input endpoint descriptor collections, excluding duplicates.

This method never returns null (Nothing in Visual Basic).

The individual elements of the returned value are never null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also