OPC Studio User's Guide and Reference
ToUAEndpointDescriptorCollection() Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UADiscoveryElementCollection Class : ToUAEndpointDescriptorCollection() Method
Converts OPC UA discovery element collection to an OPC UA endpoint descriptor collection.
Syntax
'Declaration
 
Public Function ToUAEndpointDescriptorCollection() As UAEndpointDescriptorCollection
'Usage
 
Dim instance As UADiscoveryElementCollection
Dim value As UAEndpointDescriptorCollection
 
value = instance.ToUAEndpointDescriptorCollection()
public UAEndpointDescriptorCollection ToUAEndpointDescriptorCollection()
public:
UAEndpointDescriptorCollection^ ToUAEndpointDescriptorCollection(); 

Return Value

Returns an endpoint descriptor collection created from the discovery element collection by converting each element.

This method never returns null (Nothing in Visual Basic).

The individual elements of the returned value are never null (Nothing in Visual Basic).

Remarks

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