QuickOPC User's Guide and Reference
FromEnumerable Method (UABrowsePath)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Navigation Namespace > UABrowsePath Class : FromEnumerable Method
Sequence of browse path elements, starting from the root.
Converts a sequence of browse path elements into am OPC-UA browse path object.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<PureAttribute()>
Public Shared Function FromEnumerable( _
   ByVal enumerable As IEnumerable(Of UABrowsePathElement) _
) As UABrowsePath
'Usage
 
Dim enumerable As IEnumerable(Of UABrowsePathElement)
Dim value As UABrowsePath
 
value = UABrowsePath.FromEnumerable(enumerable)
[CanBeNull()]
[Pure()]
public static UABrowsePath FromEnumerable( 
   IEnumerable<UABrowsePathElement> enumerable
)
[CanBeNull()]
[Pure()]
public:
static UABrowsePath^ FromEnumerable( 
   IEnumerable<UABrowsePathElement^>^ enumerable
) 

Parameters

enumerable
Sequence of browse path elements, starting from the root.

Return Value

Returns null when the input is null. Otherwise, returns the OPC-UA browse path object made from the sequence of browse path elements.
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