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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery.ComTypes Namespace > _UADiscoveryElementCollection Interface : ToUAEndpointDescriptorCollection Method
Converts OPC UA discovery element collection to an OPC UA endpoint descriptor collection.
Syntax
'Declaration
 
<NotNullAttribute()>
Function ToUAEndpointDescriptorCollection() As UAEndpointDescriptorCollection
'Usage
 
Dim instance As _UADiscoveryElementCollection
Dim value As UAEndpointDescriptorCollection
 
value = instance.ToUAEndpointDescriptorCollection()
[NotNull()]
UAEndpointDescriptorCollection ToUAEndpointDescriptorCollection()
[NotNull()]
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 member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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