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 of this parameter can be null (Nothing in Visual Basic).

The value to be stored.

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

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.

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

value
The value to be stored.

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

Return Value

Returns a null reference if successful. Otherwise, returns an exception object with information about the failure.

This method can return 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