OPC Studio User's Guide and Reference
UADataVariable Constructor()



OpcLabs.ServerOpcUA Assembly > OpcLabs.EasyOpc.UA.NodeSpace Namespace > UADataVariable Class > UADataVariable Constructor : UADataVariable Constructor()
Initializes a new instance of the class with default values.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New UADataVariable()
public UADataVariable()
public:
UADataVariable();
Remarks

This constructor is needed for the designer.

This constructor creates a data variable with an empty name. Set a non-empty before using the data variable in a server.

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