OPC Studio User's Guide and Reference
SubstituteStateFormat Property



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataAccess Namespace > UAMultiStateDiscreteNode<TValue,TAttribute> Class : SubstituteStateFormat Property
The format string used for substituting empty states.
Syntax
'Declaration
 
<DefaultValueAttribute("{0}")>
<NotNullAttribute()>
Public Property SubstituteStateFormat As String
'Usage
 
Dim instance As UAMultiStateDiscreteNode(Of TValue,TAttribute)
Dim value As String
 
instance.SubstituteStateFormat = value
 
value = instance.SubstituteStateFormat
[DefaultValue("{0}")]
[NotNull()]
public string SubstituteStateFormat {get; set;}
[DefaultValue("{0}")]
[NotNull()]
public:
property String^ SubstituteStateFormat {
   String^ get();
   void set (    String^ value);
}
Remarks
The format string is used with the System.String.Format(System.String,System.Object) method. Parameter 0 for the formatting is the current value of the node.
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