# OpcReadOnlyNamespaceUriCollection Class

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

<dl class="api-definition">
<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>
<dt>Members</dt>
<dd><a href="./members">OpcReadOnlyNamespaceUriCollection Members</a></dd>
</dl>

Provides a read-only collection of [Uri](https://learn.microsoft.com/dotnet/api/system.uri) values representing [OpcNamespace](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnamespace/) objects.

## Syntax

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

```csharp
public class OpcReadOnlyNamespaceUriCollection : ReadOnlyCollection<Uri>
```

</div>

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

```vbnet
Public Class OpcReadOnlyNamespaceUriCollection
    Inherits ReadOnlyCollection(Of Uri)
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [ReadOnlyCollection](https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.readonlycollection-1)&lt;[Uri](https://learn.microsoft.com/dotnet/api/system.uri)&gt; → **OpcReadOnlyNamespaceUriCollection**

## 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="https://learn.microsoft.com/dotnet/api/system.uri">Uri</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="https://learn.microsoft.com/dotnet/api/system.uri">Uri</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="https://learn.microsoft.com/dotnet/api/system.uri">Uri</a>&gt;</li>
<li><a href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a href="https://learn.microsoft.com/dotnet/api/system.uri">Uri</a>&gt;</li>
<li><a href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a href="https://learn.microsoft.com/dotnet/api/system.uri">Uri</a>&gt;</li>
</ul>

## Constructors

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

## Fields

| Name | Description |
|---|---|
| [Empty](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcreadonlynamespaceuricollection/members#empty)<span class="api-meta">static</span> | Represents an empty OpcReadOnlyNamespaceUriCollection. |

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

## Applies to

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