OPC Studio User's Guide and Reference
EventSource Constructor(EventSource)



View with Navigation Tools
OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Referencing Namespace > EventSource Class > EventSource Constructor : EventSource Constructor(EventSource)
The object to be copied from.

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

Initializes a new instance of the class, copying values from a given object.
Syntax
'Declaration
 
Public Function New( _
   ByVal eventSource As EventSource _
)
 
'Usage
 
Dim eventSource As EventSource
 
Dim instance As New EventSource(eventSource)

Parameters

eventSource
The object to be copied from.

The value of this parameter cannot be 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