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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Referencing Namespace > ValueTarget Class > ValueTarget Constructor : ValueTarget Constructor(ValueTarget)
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 valueTarget As ValueTarget _
)
'Usage
 
Dim valueTarget As ValueTarget
 
Dim instance As New ValueTarget(valueTarget)
public ValueTarget( 
   ValueTarget valueTarget
)
public:
ValueTarget( 
   ValueTarget^ valueTarget
)

Parameters

valueTarget
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