QuickOPC User's Guide and Reference
SubstituteValue Property (UAPublishedVariableData)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAPublishedVariableData Class : SubstituteValue Property
The value that is included in the dataset if the status code of the data value is Bad.
Syntax
'Declaration
 
<DefaultValueAttribute("")>
<DisplayAttribute(AutoGenerateField=True, 
   Order=14, 
   ShortName="Substitute Value")>
Public Property SubstituteValue As Object
'Usage
 
Dim instance As UAPublishedVariableData
Dim value As Object
 
instance.SubstituteValue = value
 
value = instance.SubstituteValue
[DefaultValue("")]
[Display(AutoGenerateField=true, 
   Order=14, 
   ShortName="Substitute Value")]
public object SubstituteValue {get; set;}
[DefaultValue("")]
[Display(AutoGenerateField=true, 
   Order=14, 
   ShortName="Substitute Value")]
public:
property Object^ SubstituteValue {
   Object^ get();
   void set (    Object^ value);
}
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