OPC Studio User's Guide and Reference
SetValue Method (CommonPoint)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Connectivity.Point Namespace > CommonPoint Class : SetValue Method
The input retrieved.
The value to be stored.
Sets a value to the given input (applies transformations if specified on the point).
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Function SetValue( _
   ByRef input As Object, _
   ByVal value As Object _
) As Exception
'Usage
 
Dim instance As CommonPoint
Dim input As Object
Dim value As Object
Dim value As Exception
 
value = instance.SetValue(input, value)
[CanBeNull()]
public Exception SetValue( 
   ref object input,
   object value
)
[CanBeNull()]
public:
Exception^ SetValue( 
   Object^% input,
   Object^ value
) 

Parameters

input
The input retrieved.
value
The value to be stored.

Return Value

Returns a null reference if successful. Otherwise, returns an exception object with information about the failure.
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