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



OpcLabs.BaseLibComponents Assembly > OpcLabs.BaseLib.Connectivity Namespace > CompositeConnectivity Class : Add Method
The constituent connectivity to be added.

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

Adds a constituent connectivity to this composed connectivity.
Syntax
'Declaration
 
Public Function Add( _
   ByVal connectivity As IConnectivity _
) As Boolean
'Usage
 
Dim instance As CompositeConnectivity
Dim connectivity As IConnectivity
Dim value As Boolean
 
value = instance.Add(connectivity)

Parameters

connectivity
The constituent connectivity to be added.

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

Return Value

true if the constituent connectivity has been successfully added; false otherwise.
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