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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Linking Namespace > ExtenderPropertyLinkingTarget Class : SetValue Method
The data type of the value.The data type of the value.
The value to be set.The value to be set.
Sets a value into the linking target. Sets a value into the linking target.
Syntax
'Declaration
 
Public Overrides NotOverridable Sub SetValue( _
   ByVal dataType As Type, _
   ByVal value As Object _
) 
'Usage
 
Dim instance As ExtenderPropertyLinkingTarget
Dim dataType As Type
Dim value As Object
 
instance.SetValue(dataType, value)
public override void SetValue( 
   Type dataType,
   object value
)
public:
void SetValue( 
   Type^ dataType,
   Object^ value
) override 

Parameters

dataType
The data type of the value.The data type of the value.
value
The value to be set.The value to be set.
Exceptions
ExceptionDescription
Thrown when there is a failure accessing the linking target.
Thrown when there is a failure accessing the linking target.
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