OPC Studio User's Guide and Reference
PubSubConnectionElement Property



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration.Graphs Namespace > UAPubSubConfigurationNodeTreePosition Class : PubSubConnectionElement Property
Represents a PubSub connection element in the PubSub configuration.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Property PubSubConnectionElement As UAPubSubConnectionElement
'Usage
 
Dim instance As UAPubSubConfigurationNodeTreePosition
Dim value As UAPubSubConnectionElement
 
instance.PubSubConnectionElement = value
 
value = instance.PubSubConnectionElement
[CanBeNull()]
public UAPubSubConnectionElement PubSubConnectionElement {get; set;}
[CanBeNull()]
public:
property UAPubSubConnectionElement^ PubSubConnectionElement {
   UAPubSubConnectionElement^ get();
   void set (    UAPubSubConnectionElement^ value);
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The default value of this property is null.

Because the OpcLabs.EasyOpc.UA.PubSub.Configuration.UAPubSubConnectionElement has an implicit conversion to OpcLabs.EasyOpc.UA.PubSub.UAPubSubConnectionDescriptor, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned OpcLabs.EasyOpc.UA.PubSub.Configuration.UAPubSubConnectionElement (from PubSub configuration) in any place where OpcLabs.EasyOpc.UA.PubSub.UAPubSubConnectionDescriptor is expected as input, and the corresponding OPC UA PubSub connection descriptor will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can convert a OpcLabs.EasyOpc.UA.PubSub.Configuration.UAPubSubConnectionElement to OpcLabs.EasyOpc.UA.PubSub.UAPubSubConnectionDescriptor using the ToUAPubSubConnectionDescriptor static method instead.

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