'Declaration
Public ReadOnly Property ServerElement As ServerElement
'Usage
Dim instance As OpcServerDialog Dim value As ServerElement instance.ServerElement = value value = instance.ServerElement
public ServerElement ServerElement {get;}
public: property ServerElement^ ServerElement { ServerElement^ get(); }
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.ServerElement has an implicit conversion to System.String, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned OpcLabs.EasyOpc.ServerElement in any place where System.String is expected as input, and the corresponding server URL string (OpcLabs.EasyOpc.ServerElement.UrlString) will be taken automatically from the OPC server element.
Also, because there are implicit conversions from OpcLabs.EasyOpc.ServerElement to OpcLabs.EasyOpc.ServerDescriptor, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned OpcLabs.EasyOpc.ServerElement in any place where OpcLabs.EasyOpc.ServerDescriptor is expected as input, and the corresponding OPC server descriptor will be constructed automatically from the OPC server element. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.ServerDescriptor.FromServerElement static method instead.