OPC Studio 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
 
<NotNullAttribute()>
Public Property TrueStateSubstitute As String
'Usage
 
Dim instance As UATwoStateDiscreteNode
Dim value As String
 
instance.TrueStateSubstitute = value
 
value = instance.TrueStateSubstitute
[NotNull()]
public string TrueStateSubstitute {get; set;}
[NotNull()]
public:
property String^ TrueStateSubstitute {
   String^ get();
   void set (    String^ value);
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

The default value of this property is "True".

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