OPC Studio User's Guide and Reference
Addition Operator (DAPropertyIdSet)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.Extensions Namespace > DAPropertyIdSet Class : Addition Operator
First property set.

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 property set.

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 property sets.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Operator +( _
   ByVal first As DAPropertyIdSet, _
   ByVal second As DAPropertyIdSet _
) As DAPropertyIdSet
'Usage
 
[NotNull()]
public DAPropertyIdSet operator +( 
   DAPropertyIdSet first,
   DAPropertyIdSet second
)
[NotNull()]
public:
DAPropertyIdSet^ operator +( 
   DAPropertyIdSet^ first,
   DAPropertyIdSet^ second
)

Parameters

first
First property set.

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 property set.

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

A property set that contains elements from both input property sets, 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