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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.OperationModel Namespace > UAWriteValueArguments Class : SetValue Method
Sets the value to be written.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Sub SetValue( _
   ByVal value As Object _
) 
'Usage
 
Dim instance As UAWriteValueArguments
Dim value As Object
 
instance.SetValue(value)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public void SetValue( 
   object value
)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public:
void SetValue( 
   Object^ value
) 

Parameters

value
Remarks

Intended for certain COM callers. You can simply use the Value property setter in .NET instead.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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