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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UADataValue Class : StatusCode Property
The status code associated with the value.
Syntax
'Declaration
 
<DisplayAttribute(AutoGenerateField=True, 
   Order=6, 
   ShortName="Status
Code")>
Public Property StatusCode As UAStatusCode
'Usage
 
Dim instance As UADataValue
Dim value As UAStatusCode
 
instance.StatusCode = value
 
value = instance.StatusCode
[Display(AutoGenerateField=true, 
   Order=6, 
   ShortName="Status
Code")]
public UAStatusCode StatusCode {get; set;}
[Display(AutoGenerateField=true, 
   Order=6, 
   ShortName="Status
Code")]
public:
property UAStatusCode^ StatusCode {
   UAStatusCode^ get();
   void set (    UAStatusCode^ value);
}
Remarks

In OPC-UA PubSub, this field is called simply Status.

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