QuickOPC User's Guide and Reference
HasValue Property (UADataValue)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UADataValue Class : HasValue Property
Determines whether there is a valid value in the data value (depends on the status code).
Syntax
'Declaration
 
<DefaultValueAttribute(True)>
Public ReadOnly Property HasValue As Boolean
'Usage
 
Dim instance As UADataValue
Dim value As Boolean
 
value = instance.HasValue
[DefaultValue(true)]
public bool HasValue {get;}
[DefaultValue(true)]
public:
property bool HasValue {
   bool get();
}

Property Value

True if there is a valid value in the data value; false otherwise.
Requirements

Target Platforms: .NET Framework: Windows 7 with SP1, Windows Server 2012; .NET Core: Linux, Microsoft Windows

See Also

Reference

UADataValue Class
UADataValue Members