OPC Studio User's Guide and Reference
ValueEventArgs Constructor(OperationEventArgs,Object)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.OperationModel Namespace > ValueEventArgs Class > ValueEventArgs Constructor : ValueEventArgs Constructor(OperationEventArgs,Object)
Arguments to be copied from.

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

Value that is an argument to the operation.

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

Initializes a new copy of the ValueArguments object from the OperationArguments object, and specified value object.
Syntax
'Declaration
 
Public Function New( _
   ByVal operationEventArgs As OperationEventArgs, _
   ByVal value As Object _
)
'Usage
 
Dim operationEventArgs As OperationEventArgs
Dim value As Object
 
Dim instance As New ValueEventArgs(operationEventArgs, value)

Parameters

operationEventArgs
Arguments to be copied from.

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

value
Value that is an argument to the operation.

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