QuickOPC User's Guide and Reference
MakePathElements<TElement> Method (NodeElement)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc Namespace > NodeElement Class : MakePathElements<TElement> Method
The browse names that represent the path to be created.
Creates a path containing NodeElement-s made from browse names, starting from the root.
Syntax
'Declaration
 
<IteratorStateMachineAttribute(OpcLabs.EasyOpc.NodeElement/d__14`1)> 
<NotNullAttribute()> 
Protected Shared Function MakePathElements(Of TElement As {New, NodeElement})( _ 
   ByVal browseNames As IEnumerable(Of String) _ 
) As IEnumerable(Of TElement)
'Usage
 
Dim browseNames As IEnumerable(Of String)
Dim value As IEnumerable(Of TElement)
 
value = NodeElement.MakePathElements(Of TElement)(browseNames)
[IteratorStateMachine(OpcLabs.EasyOpc.NodeElement/d__14`1)] 
[NotNull()] 
protected static IEnumerable<TElement> MakePathElements<TElement>( 
   IEnumerable<string> browseNames 
) 
where TElement: new(), NodeElement
[IteratorStateMachine(OpcLabs.EasyOpc.NodeElement/d__14`1)] 
[NotNull()] 
protected: 
static IEnumerable<TElement^>^ MakePathElementsgeneric<typename TElement> 
( 
   IEnumerable<String^>^ browseNames 
) 
where TElement: gcnew(), NodeElement

Parameters

browseNames
The browse names that represent the path to be created.

Type Parameters

TElement

Return Value

An enumerable of node elements, starting from the root.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

NodeElement Class
NodeElement Members