# OpcNameCollection Class

> Reference: Representes a collection of OpcName instances.

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Members</dt>
<dd><a href="./members">OpcNameCollection Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Representes a collection of [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) instances.

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public class OpcNameCollection : OpcCollection<OpcName, QualifiedName, QualifiedNameCollection>
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Class OpcNameCollection
    Inherits OpcCollection(Of OpcName, QualifiedName, QualifiedNameCollection)
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [Collection](https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1)&lt;[OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/)&gt; → [OpcCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccollection-3/)&lt;[OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/), <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.QualifiedName">QualifiedName</abbr>, <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.QualifiedNameCollection">QualifiedNameCollection</abbr>&gt; → **OpcNameCollection**

## Implements

<ul class="api-implements">
<li><a href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></li>
<li><a href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a href="../opc.uafx.opcname/">OpcName</a>&gt;</li>
<li><a href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></li>
<li><a href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a href="../opc.uafx.opcname/">OpcName</a>&gt;</li>
<li><a href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></li>
<li><a href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a href="../opc.uafx.opcname/">OpcName</a>&gt;</li>
<li><a href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a href="../opc.uafx.opcname/">OpcName</a>&gt;</li>
<li><a href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a href="../opc.uafx.opcname/">OpcName</a>&gt;</li>
</ul>

## Constructors

| Name | Description |
|---|---|
| [OpcNameCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnamecollection/members#opcnamecollection)<span class="api-meta">2 overloads</span> | Initializes a new instance of the OpcNameCollection class. |

Inherits members from [OpcCollection&lt;OpcName, QualifiedName, QualifiedNameCollection&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccollection-3/members), [Collection&lt;OpcName&gt;](https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1).

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
