QuickOPC User's Guide and Reference
RetrieveAllDataTypes(IEasyUAClient,UAEndpointDescriptor) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Extensions Namespace > IEasyUAClientExtension2 Class > RetrieveAllDataTypes Method : RetrieveAllDataTypes(IEasyUAClient,UAEndpointDescriptor) Method
The client object that will perform the operation.
The endpoint descriptor.
Retrieves all sub-types of OpcLabs.EasyOpc.UA.AddressSpace.Standard.UADataTypeIds.BaseDataType, recursively.
Syntax
'Declaration
 
<ExtensionAttribute()>
<NotNullAttribute()>
Public Overloads Shared Function RetrieveAllDataTypes( _
   ByVal client As IEasyUAClient, _
   ByVal endpointDescriptor As UAEndpointDescriptor _
) As ValueResult(Of UANodeDescriptor())
'Usage
 
Dim client As IEasyUAClient
Dim endpointDescriptor As UAEndpointDescriptor
Dim value As ValueResult(Of UANodeDescriptor())
 
value = IEasyUAClientExtension2.RetrieveAllDataTypes(client, endpointDescriptor)

Parameters

client
The client object that will perform the operation.
endpointDescriptor
The endpoint descriptor.

Return Value

A value result with an array of node descriptors obtained, one for each data type found.
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks

The starting node is included as the first element in the result value.

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