OPC Studio User's Guide and Reference
ResetStatusCode Method (UADataSetFieldData)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UADataSetFieldData Class : ResetStatusCode Method
Sets the StatusCode back to its default.
Syntax
'Declaration
 
Protected Shadows Sub ResetStatusCode() 
'Usage
 
Dim instance As UADataSetFieldData
 
instance.ResetStatusCode()
protected new void ResetStatusCode()
protected:
new void ResetStatusCode(); 
Remarks

This method is commonly used in conjunction with the ShouldSerialize<PropertyName> method. See also Use Reset and ShouldSerialize to control a property (Windows Forms .NET) for more information.

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