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



View with Navigation Tools
OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > PrimitiveData Class : SetValue Method
The value to be set.

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

Sets the current primitive value.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Sub SetValue( _
   ByVal value As Object _
) 
 
'Usage
 
Dim instance As PrimitiveData
Dim value As Object
 
instance.SetValue(value)

Parameters

value
The value to be set.

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