Connectivity Software User's Guide and Reference
Constant Method (UADataVariableExtension)



OpcLabs.ServerOpcUA Assembly > OpcLabs.EasyOpc.UA.NodeSpace Namespace > UADataVariableExtension Class : Constant Method
Modifies the data variable to provide the specified constant attribute data (value, status code, timestamp), non-writable.

For reads and subscriptions, the data variable will provide always the same data, specified in this method call. The data variable will not be writable.

Overload List
OverloadDescription
Makes a constant data variable with given value type, and attribute data object (value, status code, timestamp).  
Makes a constant data variable with given value type code, and attribute data object (value, status code, timestamp).  
Makes a constant data variable with given data type Id, array dimension list, and attribute data object (value, status code, timestamp).  
Makes a constant data variable with given data type, attribute data object (value, status code, timestamp), and an empty array dimension list.  
Makes a constant data variable using generic-typed attribute data object (typed value, status code, timestamp).  
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