OPC Studio User's Guide and Reference
SetSubstituteValue Method (_UAPublishedVariableData)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration.ComTypes Namespace > _UAPublishedVariableData Interface : SetSubstituteValue Method
The substitute value to be set.
Sets the value that is included in the dataset if the status code of the data value is Bad.
Syntax
'Declaration
 
Sub SetSubstituteValue( _
   ByVal substituteValue As Object _
) 
'Usage
 
Dim instance As _UAPublishedVariableData
Dim substituteValue As Object
 
instance.SetSubstituteValue(substituteValue)
void SetSubstituteValue( 
   object substituteValue
)
void SetSubstituteValue( 
   Object^ substituteValue
) 

Parameters

substituteValue
The substitute 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