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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAAttributeFieldCollection Class > Add Method : Add(UAAttributeFieldCollection,UAAttributeFieldCollection) Method
First attribute field collection.
Second attribute field collection.
Produces the set union of two attribute field collections.
Syntax
'Declaration
 
<ElementsNotNullAttribute()>
<NotNullAttribute()>
Public Overloads Shared Function Add( _
   ByVal first As UAAttributeFieldCollection, _
   ByVal second As UAAttributeFieldCollection _
) As UAAttributeFieldCollection
'Usage
 
Dim first As UAAttributeFieldCollection
Dim second As UAAttributeFieldCollection
Dim value As UAAttributeFieldCollection
 
value = UAAttributeFieldCollection.Add(first, second)
[ElementsNotNull()]
[NotNull()]
public static UAAttributeFieldCollection Add( 
   UAAttributeFieldCollection first,
   UAAttributeFieldCollection second
)

Parameters

first
First attribute field collection.
second
Second attribute field collection.

Return Value

An attribute field collection that contains elements from both input attribute field collections, excluding duplicates.
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