# OpcReadNodeHistoryModifiedDetails Members

> Reference: Defines the time domain, number of values and additional criteria to use to select modified values from historical database for one or more variables.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcReadNodeHistoryModifiedDetails</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 [OpcReadNodeHistoryDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistorydetails/members).

## Constructors

### OpcReadNodeHistoryModifiedDetails

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

| Overload | Description |
|---|---|
| [OpcReadNodeHistoryModifiedDetails(int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistorymodifieddetails/members#opcreadnodehistorymodifieddetails-system-int32) | Initializes a new instance of the [OpcReadNodeHistoryModifiedDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistorymodifieddetails/) class using the specified `numberOfValues` to select the modified historical values. |
| [OpcReadNodeHistoryModifiedDetails(DateTime?, int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistorymodifieddetails/members#opcreadnodehistorymodifieddetails-system-nullable-of-system-datetime-system-int32) | Initializes a new instance of the [OpcReadNodeHistoryModifiedDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistorymodifieddetails/) class using the specified `startTime` and `numberOfValues` to use to select the modified historical values. |
| [OpcReadNodeHistoryModifiedDetails(DateTime?, DateTime?, int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistorymodifieddetails/members#opcreadnodehistorymodifieddetails-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-int32) | Initializes a new instance of the [OpcReadNodeHistoryModifiedDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistorymodifieddetails/) class using the specified `startTime`, `endTime` and `numberOfValues` to use to select the modified historical values. |
| [OpcReadNodeHistoryModifiedDetails(DateTime?, DateTime?)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistorymodifieddetails/members#opcreadnodehistorymodifieddetails-system-nullable-of-system-datetime-system-nullable-of-system-datetime) | Initializes a new instance of the [OpcReadNodeHistoryModifiedDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistorymodifieddetails/) class using the specified `startTime` and `endTime` to use to select the modified historical values. |

#### OpcReadNodeHistoryModifiedDetails(int)

Initializes a new instance of the [OpcReadNodeHistoryModifiedDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistorymodifieddetails/) class using the specified `numberOfValues` to select the modified historical values.

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

```csharp
public OpcReadNodeHistoryModifiedDetails(int numberOfValues)
```

</div>

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

```vbnet
Public Sub New(numberOfValues As Integer)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `numberOfValues` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The maximum number of values returned for any node over the time range. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentOutOfRangeException](https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception) | The `numberOfValues` is lower or equals zero. |

#### OpcReadNodeHistoryModifiedDetails(DateTime?, int)

Initializes a new instance of the [OpcReadNodeHistoryModifiedDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistorymodifieddetails/) class using the specified `startTime` and `numberOfValues` to use to select the modified historical values.

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

```csharp
public OpcReadNodeHistoryModifiedDetails(
    DateTime? startTime,
    int numberOfValues)
```

</div>

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

```vbnet
Public Sub New(startTime As Date?, numberOfValues As Integer)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; | The beginning of the period to read. |
| `numberOfValues` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The maximum number of values returned for any node over the time range. If only one time is specified, the time range shall extend to return this number of values. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `startTime` is a null reference (Nothing in Visual Basic) or equals [MinValue](https://learn.microsoft.com/dotnet/api/system.datetime.minvalue). |
| [ArgumentOutOfRangeException](https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception) | The `numberOfValues` is lower or equals zero. |

#### OpcReadNodeHistoryModifiedDetails(DateTime?, DateTime?, int)

Initializes a new instance of the [OpcReadNodeHistoryModifiedDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistorymodifieddetails/) class using the specified `startTime`, `endTime` and `numberOfValues` to use to select the modified historical values.

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

```csharp
public OpcReadNodeHistoryModifiedDetails(
    DateTime? startTime,
    DateTime? endTime,
    int numberOfValues)
```

</div>

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

```vbnet
Public Sub New(startTime As Date?, endTime As Date?, numberOfValues As Integer)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; | The beginning of the period to read or a null reference (Nothing in Visual Basic) if no specific start time is specified. If `startTime` is not specified and the `numberOfValues` is equals zero the `endTime` needs to be specified. |
| `endTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; | The end of the period to read or a null reference (Nothing in Visual Basic) if no specific end time is specified. If `endTime` is not specified and the `numberOfValues` is equals zero the `startTime` needs to be specified. |
| `numberOfValues` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The maximum number of values returned for any node over the time range. If only one time is specified, the time range shall extend to return this number of values. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `startTime` and `endTime` are a null reference (Nothing in Visual Basic) or are equals [MinValue](https://learn.microsoft.com/dotnet/api/system.datetime.minvalue) and `numberOfValues` is lower or equals zero. |

#### OpcReadNodeHistoryModifiedDetails(DateTime?, DateTime?)

Initializes a new instance of the [OpcReadNodeHistoryModifiedDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistorymodifieddetails/) class using the specified `startTime` and `endTime` to use to select the modified historical values.

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

```csharp
public OpcReadNodeHistoryModifiedDetails(DateTime? startTime, DateTime? endTime)
```

</div>

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

```vbnet
Public Sub New(startTime As Date?, endTime As Date?)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; | The beginning of the period to read or a null reference (Nothing in Visual Basic) if no specific start time is specified. If `startTime` is not specified the `endTime` needs to be specified. |
| `endTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; | The end of the period to read or a null reference (Nothing in Visual Basic) if no specific end time is specified. If `endTime` is not specified the `startTime` needs to be specified. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `startTime` and `endTime` are a null reference (Nothing in Visual Basic) or are equals [MinValue](https://learn.microsoft.com/dotnet/api/system.datetime.minvalue). |
