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



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.Extensions Namespace > DAPropertyIdSet Class > Add Method : Add(DAPropertyIdSet,DAPropertyIdSet) Method
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 Overloads Shared Function Add( _
   ByVal first As DAPropertyIdSet, _
   ByVal second As DAPropertyIdSet _
) As DAPropertyIdSet
'Usage
 
Dim first As DAPropertyIdSet
Dim second As DAPropertyIdSet
Dim value As DAPropertyIdSet
 
value = DAPropertyIdSet.Add(first, second)
[NotNull()]
public static DAPropertyIdSet Add( 
   DAPropertyIdSet first,
   DAPropertyIdSet second
)
[NotNull()]
public:
static DAPropertyIdSet^ Add( 
   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