OPC Studio User's Guide and Reference
CopyFrom Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > Parameters Class : CopyFrom Method
Parameters to be copied from.
Infrastructure. Copies data from the specified parameter object into the current parameter object.
Syntax
'Declaration
 
Protected Overridable Sub CopyFrom( _
   ByVal parameters As Parameters _
) 
'Usage
 
Dim instance As Parameters
Dim parameters As Parameters
 
instance.CopyFrom(parameters)
protected virtual void CopyFrom( 
   Parameters parameters
)
protected:
virtual void CopyFrom( 
   Parameters^ parameters
) 

Parameters

parameters
Parameters to be copied from.
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

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