QuickOPC User's Guide and Reference
TrueStateSubstitute Property



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataAccess Namespace > UATwoStateDiscreteNode Class : TrueStateSubstitute Property
The substitute string for an empty false state.
Syntax
'Declaration
 
<DefaultValueAttribute("True")>
<NotNullAttribute()>
Public Property TrueStateSubstitute As String
'Usage
 
Dim instance As UATwoStateDiscreteNode
Dim value As String
 
instance.TrueStateSubstitute = value
 
value = instance.TrueStateSubstitute
[DefaultValue("True")]
[NotNull()]
public string TrueStateSubstitute {get; set;}
[DefaultValue("True")]
[NotNull()]
public:
property String^ TrueStateSubstitute {
   String^ get();
   void set (    String^ value);
}
Remarks
If SubstituteEmptyStates is true, this string is used as a return value of CurrentState property if the current value is true and the TrueState is an empty string.
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