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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel.ComTypes Namespace > _PrimitiveData Interface : SetValue Method
The value to be set.
Sets the current primitive value.
Syntax
'Declaration
 
Sub SetValue( _
   ByVal value As Object _
) 
'Usage
 
Dim instance As _PrimitiveData
Dim value As Object
 
instance.SetValue(value)
void SetValue( 
   object value
)
void SetValue( 
   Object^ value
) 

Parameters

value
The value to be set.
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