QuickOPC User's Guide and Reference
UAEndpointDescriptorCollection Constructor(IEnumerable<UAEndpointDescriptor>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAEndpointDescriptorCollection Class > UAEndpointDescriptorCollection Constructor : UAEndpointDescriptorCollection Constructor(IEnumerable<UAEndpointDescriptor>)
Initializes a new instance of the collection, with given items.
Syntax
'Declaration
 
Public Function New( _
   ByVal items As IEnumerable(Of UAEndpointDescriptor) _
)
'Usage
 
Dim items As IEnumerable(Of UAEndpointDescriptor)
 
Dim instance As New UAEndpointDescriptorCollection(items)
public UAEndpointDescriptorCollection( 
   IEnumerable<UAEndpointDescriptor> items
)
public:
UAEndpointDescriptorCollection( 
   IEnumerable<UAEndpointDescriptor^>^ items
)

Parameters

items
Remarks
As opposed to #ctor, this constructor does not wrap the passed-in list.
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