OPC Studio User's Guide and Reference
DisplayValue Method (UADiscreteItemNode<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataAccess Namespace > UADiscreteItemNode<TValue,TAttribute> Class : DisplayValue Method
The value of the variable, formatted for display purposes.
Syntax
'Declaration
 
Public Overrides Function DisplayValue() As String
'Usage
 
Dim instance As UADiscreteItemNode(Of TValue,TAttribute)
Dim value As String
 
value = instance.DisplayValue()
public override string DisplayValue()
public:
String^ DisplayValue(); override 

Return Value

The formatted variable value.

This method never returns null (Nothing in Visual Basic).

Remarks
Includes the values itself, and the current state (CurrentState), i.e. the string expressing the 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