# OpcPropertyValue&lt;T&gt; Members

> Reference: Represents the immutable value of a property.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcPropertyValue&lt;T&gt;</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>
</dl>

Inherits members from [OpcVariableValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvariablevalue-1/members), [OpcAttributeValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattributevalue-1/members).

## Constructors

### OpcPropertyValue

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

| Overload | Description |
|---|---|
| [OpcPropertyValue(T)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/members#opcpropertyvalue-t0) | Initializes a new instance of the [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) class using the `value` specified. |
| [OpcPropertyValue(T, DateTime)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/members#opcpropertyvalue-t0-system-datetime) | Initializes a new instance of the [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) class using the `value` and `timestamp` specified. |
| [OpcPropertyValue(T, DateTime, OpcStatus)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/members#opcpropertyvalue-t0-system-datetime-opc-uafx-opcstatus) | Initializes a new instance of the [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) class using the `value`, `timestamp` and `status` specified. |
| [OpcPropertyValue(T, DateTime, OpcStatusCode)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/members#opcpropertyvalue-t0-system-datetime-opc-uafx-opcstatuscode) | Initializes a new instance of the [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) class using the `value`, `timestamp` and `statusCode` specified. |

#### OpcPropertyValue(T)

Initializes a new instance of the [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) class using the `value` specified.

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

```csharp
public OpcPropertyValue(T value)
```

</div>

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

```vbnet
Public Sub New(value As T)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | T | The value of the property value represented. |

#### OpcPropertyValue(T, DateTime)

Initializes a new instance of the [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) class using the `value` and `timestamp` specified.

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

```csharp
public OpcPropertyValue(T value, DateTime timestamp)
```

</div>

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

```vbnet
Public Sub New(value As T, timestamp As Date)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | T | The value of the property value represented. |
| `timestamp` | [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime) | The time stamp of the property value. |

#### OpcPropertyValue(T, DateTime, OpcStatus)

Initializes a new instance of the [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) class using the `value`, `timestamp` and `status` specified.

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

```csharp
public OpcPropertyValue(T value, DateTime timestamp, OpcStatus status)
```

</div>

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

```vbnet
Public Sub New(value As T, timestamp As Date, status As OpcStatus)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | T | The value of the property value represented. |
| `timestamp` | [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime) | The time stamp of the property value. |
| `status` | [OpcStatus](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatus/) | The status associated with the property value. |

#### OpcPropertyValue(T, DateTime, OpcStatusCode)

Initializes a new instance of the [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) class using the `value`, `timestamp` and `statusCode` specified.

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

```csharp
public OpcPropertyValue(T value, DateTime timestamp, OpcStatusCode statusCode)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Sub New(value As T, timestamp As Date, statusCode As OpcStatusCode)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | T | The value of the property value represented. |
| `timestamp` | [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime) | The time stamp of the property value. |
| `statusCode` | [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) | The [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) form that the [OpcStatus](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatus/) associated with the property value is derived. |
