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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UADataSetFieldData Class : StatusCode Property
The status code associated with the value.
Syntax
'Declaration
 
<DebuggerBrowsableAttribute(DebuggerBrowsableState.Never)>
<DisplayAttribute(AutoGenerateField=True, 
   Order=6, 
   ShortName="Status
Code")>
<IsValueEvidentAttribute(True)>
Public Shadows Property StatusCode As UAStatusCode
'Usage
 
Dim instance As UADataSetFieldData
Dim value As UAStatusCode
 
instance.StatusCode = value
 
value = instance.StatusCode
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[Display(AutoGenerateField=true, 
   Order=6, 
   ShortName="Status
Code")]
[IsValueEvident(true)]
public new UAStatusCode StatusCode {get; set;}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[Display(AutoGenerateField=true, 
   Order=6, 
   ShortName="Status
Code")]
[IsValueEvident(true)]
public:
new 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