'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.
The value of this parameter can be
null
(Nothing
in Visual Basic).The individual elements of the parameter value cannot be
null
(Nothing
in Visual Basic).
Return Value
null
when the input is null
. Otherwise, returns the OPC-UA browse path object made from the sequence of browse path elements.
Because there is an implicit conversion from UABrowsePath to OpcLabs.EasyOpc.UA.UANodeDescriptor, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned UABrowsePath in any place where the OpcLabs.EasyOpc.UA.UANodeDescriptor is expected as input, and the corresponding node descriptor will be constructed automatically.
This method can return null
(Nothing
in Visual Basic).