OPC Studio User's Guide and Reference
DiscoveryElement Property (UAEndpointDialog)



OpcLabs.EasyOpcForms Assembly > OpcLabs.EasyOpc.UA.Forms.Browsing Namespace > UAEndpointDialog Class : DiscoveryElement Property
Gets the information about the OPC-UA server selected in the dialog box.
Syntax
'Declaration
 
Public ReadOnly Property DiscoveryElement As UADiscoveryElement
'Usage
 
Dim instance As UAEndpointDialog
Dim value As UADiscoveryElement
 
instance.DiscoveryElement = value
 
value = instance.DiscoveryElement
public UADiscoveryElement DiscoveryElement {get;}
public:
property UADiscoveryElement^ DiscoveryElement {
   UADiscoveryElement^ get();
}

Property Value

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

The default value of this property is null.

Because OpcLabs.EasyOpc.UA.Discovery.UAApplicationElement has an implicit conversion to OpcLabs.EasyOpc.UA.UAEndpointDescriptor, you can simply use the returned OpcLabs.EasyOpc.UA.Discovery.UAApplicationElement in any place where OpcLabs.EasyOpc.UA.UAEndpointDescriptor is expected as input, and the corresponding endpoint descriptor will be constructed automatically from the application element. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.UA.Discovery.UAApplicationElement.ToUAEndpointDescriptor static method instead.

Because OpcLabs.EasyOpc.UA.Discovery.UADiscoveryElement has an implicit conversion to OpcLabs.EasyOpc.UA.UAEndpointDescriptor, you can simply use the returned OpcLabs.EasyOpc.UA.Discovery.UADiscoveryElement in any place where OpcLabs.EasyOpc.UA.UAEndpointDescriptor is expected as input, and the corresponding endpoint descriptor will be constructed automatically from the discovery element. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.UA.Discovery.UADiscoveryElement.ToUAEndpointDescriptor static method instead.

Remarks

The getter method of this property is pure, i.e. it does not have observable side effects.

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