OPC Studio User's Guide and Reference
MakePathDescriptors Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UANodeDescriptor Class : MakePathDescriptors Method
Creates a path containing UANodeDescriptor-s made from browse path.
Syntax
'Declaration
 
<IteratorStateMachineAttribute(OpcLabs.EasyOpc.UA.UANodeDescriptor/d__29)> 
<NotNullAttribute()> 
Public Shared Function MakePathDescriptors( _ 
   ByVal browsePath As UABrowsePath _ 
) As IEnumerable(Of UANodeDescriptor)
'Usage
 
Dim browsePath As UABrowsePath
Dim value As IEnumerable(Of UANodeDescriptor)
 
value = UANodeDescriptor.MakePathDescriptors(browsePath)
[IteratorStateMachine(OpcLabs.EasyOpc.UA.UANodeDescriptor/d__29)] 
[NotNull()] 
public static IEnumerable<UANodeDescriptor> MakePathDescriptors( 
   UABrowsePath browsePath 
)
[IteratorStateMachine(OpcLabs.EasyOpc.UA.UANodeDescriptor/d__29)] 
[NotNull()] 
public: 
static IEnumerable<UANodeDescriptor^>^ MakePathDescriptors( 
   UABrowsePath^ browsePath 
) 

Parameters

browsePath

Return Value

An "enumerable" of node descriptors, starting from the root.
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.

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