# OpcReadOnlyNamespaceUriCollection Members

> Reference: Provides a read-only collection of Uri values representing OpcNamespace objects.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcReadOnlyNamespaceUriCollection</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 [ReadOnlyCollection&lt;Uri&gt;](https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.readonlycollection-1).

## Constructors

### OpcReadOnlyNamespaceUriCollection

Initializes a new instance of the [OpcReadOnlyNamespaceUriCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcreadonlynamespaceuricollection/) class that is a read-only wrapper around the specified `list`.

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

```csharp
public OpcReadOnlyNamespaceUriCollection(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) values to wrap. |

**Exceptions**

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

## Fields

### Empty

<span class="api-meta">static</span>

Represents an empty [OpcReadOnlyNamespaceUriCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcreadonlynamespaceuricollection/).

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

```csharp
public static readonly OpcReadOnlyNamespaceUriCollection Empty
```

</div>

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

```vbnet
Public Shared ReadOnly Empty As OpcReadOnlyNamespaceUriCollection
```

</div>

**Field value**

[OpcReadOnlyNamespaceUriCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcreadonlynamespaceuricollection/)
