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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAPublishedVariableData Class : 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
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Sub SetSubstituteValue( _
   ByVal substituteValue As Object _
) 
'Usage
 
Dim instance As UAPublishedVariableData
Dim substituteValue As Object
 
instance.SetSubstituteValue(substituteValue)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public void SetSubstituteValue( 
   object substituteValue
)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public:
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