OPC Studio User's Guide and Reference
DisplayValue Method (_DAVtq)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.ComTypes Namespace > _DAVtq Interface : DisplayValue Method
Formats the data value for display.
Syntax
'Declaration
 
<JetBrains.Annotations.NotNullAttribute()>
Function DisplayValue() As String
'Usage
 
Dim instance As _DAVtq
Dim value As String
 
value = instance.DisplayValue()
[JetBrains.Annotations.NotNull()]
string DisplayValue()
[JetBrains.Annotations.NotNull()]
String^ DisplayValue(); 

Return Value

Returns the string formatted with information about data value. Returns empty string when there is no value define in this object (i.e. when the HasValue returns false), usually when the quality is bad.

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

Remarks
The current data value can be a null reference.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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