# UriCollection Members

> Reference: Represents a collection of Uri objects.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">UriCollection</a></dd>
<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>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

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

## Constructors

### UriCollection

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

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

#### UriCollection()

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

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

```csharp
public UriCollection()
```

</div>

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

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

</div>

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

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

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

```csharp
public UriCollection(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 list that is wrapped by the new collection. |

**Exceptions**

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