# OpcNamespaceUriCollection Members

> Reference: Represents a collection of Uri instances identifying different namespaces using their Uri (see OpcNamespace).

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcNamespaceUriCollection</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.server">Opc.UaFx.Server</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
</dl>

Inherits members from [Collection&lt;Uri&gt;](https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1).

## Constructors

### OpcNamespaceUriCollection

<span class="api-meta">2 overloads</span>

| Overload | Description |
|---|---|
| [OpcNamespaceUriCollection()](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnamespaceuricollection/members#opcnamespaceuricollection-noparams) | Initializes a new instance of the [OpcNamespaceUriCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnamespaceuricollection/) class. |
| [OpcNamespaceUriCollection(IList&lt;Uri&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnamespaceuricollection/members#opcnamespaceuricollection-system-collections-generic-ilist-of-system-uri) | Initializes a new instance of the [OpcNamespaceUriCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnamespaceuricollection/) class as a wrapper for the specified `list`. |

#### OpcNamespaceUriCollection()

Initializes a new instance of the [OpcNamespaceUriCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnamespaceuricollection/) class.

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

```csharp
public OpcNamespaceUriCollection()
```

</div>

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

```vbnet
Public Sub New()
```

</div>

#### OpcNamespaceUriCollection(IList&lt;Uri&gt;)

Initializes a new instance of the [OpcNamespaceUriCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnamespaceuricollection/) class as a wrapper for the specified `list`.

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

```csharp
public OpcNamespaceUriCollection(IList<Uri> list)
```

</div>

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

```vbnet
Public Sub New(list As IList(Of Uri))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `list` | [IList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1)&lt;[Uri](https://learn.microsoft.com/dotnet/api/system.uri)&gt; | The [IList&lt;T&gt;](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1) of [Uri](https://learn.microsoft.com/dotnet/api/system.uri) instances to wrap. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `list` is a null reference (Nothing in Visual Basic). |
