# OpcResult Members

> Reference: Provides information indicating and describing the outcome of an operation.

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

## Constructors

### OpcResult

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

| Overload | Description |
|---|---|
| [OpcResult(OpcStatusCode)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#opcresult-opc-uafx-opcstatuscode) | Initializes a new instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class using the `statusCode` specified. |
| [OpcResult(OpcStatusCode, string)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#opcresult-opc-uafx-opcstatuscode-system-string) | Initializes a new instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class using the `statusCode` and `description` specified. |
| [OpcResult(Exception)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#opcresult-system-exception) | Initializes a new instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class using the `exception` specified. |
| [OpcResult(Exception, string)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#opcresult-system-exception-system-string) | Initializes a new instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class using the `exception` and `description` specified. |

#### OpcResult(OpcStatusCode)

Initializes a new instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class using the `statusCode` specified.

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

```csharp
public OpcResult(OpcStatusCode statusCode)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Sub New(statusCode As OpcStatusCode)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `statusCode` | [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) | One of the [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) enumeration members identifying the result to represent. |

#### OpcResult(OpcStatusCode, string)

Initializes a new instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class using the `statusCode` and `description` specified.

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

```csharp
public OpcResult(OpcStatusCode statusCode, string description)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Sub New(statusCode As OpcStatusCode, description As String)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `statusCode` | [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) | One of the [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) enumeration members identifying the result to represent. |
| `description` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The [string](https://learn.microsoft.com/dotnet/api/system.string) which describes the meaning of the `statusCode` represented by the result. |

#### OpcResult(Exception)

Initializes a new instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class using the `exception` specified.

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

```csharp
public OpcResult(Exception exception)
```

</div>

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

```vbnet
Public Sub New(exception As Exception)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `exception` | [Exception](https://learn.microsoft.com/dotnet/api/system.exception) | The [Exception](https://learn.microsoft.com/dotnet/api/system.exception) from that the result information is to be determined. |

**Remarks**

An [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) constructed from an [Exception](https://learn.microsoft.com/dotnet/api/system.exception) does always define the [Bad](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#bad) as [Code](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#code). Only in case there [Exception](https://learn.microsoft.com/dotnet/api/system.exception) does define a [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) the [Code](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#code) may depend on the contents of the `exception`.

#### OpcResult(Exception, string)

Initializes a new instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class using the `exception` and `description` specified.

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

```csharp
public OpcResult(Exception exception, string description)
```

</div>

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

```vbnet
Public Sub New(exception As Exception, description As String)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `exception` | [Exception](https://learn.microsoft.com/dotnet/api/system.exception) | The [Exception](https://learn.microsoft.com/dotnet/api/system.exception) from that the result information is to be determined. |
| `description` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The [string](https://learn.microsoft.com/dotnet/api/system.string) which describes the meaning of the `exception` represented by the result. |

## Properties

### Addition

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

Gets additional diagnostic/debugging information associated with the operation which provides the result represented.

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

```csharp
public virtual string Addition { get; }
```

</div>

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

```vbnet
Public Overridable ReadOnly Property Addition As String
```

</div>

**Property value**

[String](https://learn.microsoft.com/dotnet/api/system.string)

A string representing additional diagnostic/debugging information.

### Code

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

Gets the [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) associated with the result.

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

```csharp
public virtual OpcStatusCode Code { get; }
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Overridable ReadOnly Property Code As OpcStatusCode
```

</div>

**Property value**

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

One of the members defined by the [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) enumeration or a custom numeric expression for custom status codes.

### Description

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

Gets the localized description of the result represented.

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

```csharp
public virtual OpcText Description { get; }
```

</div>

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

```vbnet
Public Overridable ReadOnly Property Description As OpcText
```

</div>

**Property value**

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

The localized description from that the result has been created if neither a null reference (Nothing in Visual Basic) nor empty; otherwise the description associated with the [Code](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#code).

### InnerResult

Gets the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) instance that caused the current result.

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

```csharp
public OpcResult InnerResult { get; }
```

</div>

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

```vbnet
Public ReadOnly Property InnerResult As OpcResult
```

</div>

**Property value**

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

An object that describes the result that caused the current result. This value can be a null reference (Nothing in Visual Basic).

### IsBad

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

Gets a value indicating whether the result falls within the category bad.

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

```csharp
public virtual bool IsBad { get; }
```

</div>

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

```vbnet
Public Overridable ReadOnly Property IsBad As Boolean
```

</div>

**Property value**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if the result falls within the category bad; otherwise the value false.

### IsGood

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

Gets a value indicating whether the result falls within the category good.

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

```csharp
public virtual bool IsGood { get; }
```

</div>

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

```vbnet
Public Overridable ReadOnly Property IsGood As Boolean
```

</div>

**Property value**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if the result falls within the category good; otherwise the value false.

### IsUncertain

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

Gets a value indicating whether the result falls within the category uncertain.

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

```csharp
public virtual bool IsUncertain { get; }
```

</div>

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

```vbnet
Public Overridable ReadOnly Property IsUncertain As Boolean
```

</div>

**Property value**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if the result falls within the category uncertain; otherwise the value false.

## Methods

### CompareTo

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

| Overload | Description |
|---|---|
| [CompareTo(object)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#compareto-system-object) | Compares the current [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) with the `other`. |
| [CompareTo(OpcResult)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#compareto-opc-uafx-opcresult) | Compares the current [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) with another [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/). |

#### CompareTo(object)

Compares the current [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) with the `other`.

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

```csharp
public int CompareTo(object other)
```

</div>

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

```vbnet
Public Function CompareTo(other As Object) As Integer
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `other` | [Object](https://learn.microsoft.com/dotnet/api/system.object) | The [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) to compare with this [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/). |

**Returns**

[Int32](https://learn.microsoft.com/dotnet/api/system.int32)

A 32-bit signed integer that indicates the relative order of the objects being compared ([CompareTo(object)](https://learn.microsoft.com/dotnet/api/system.icomparable.compareto)).

**Implements**

[CompareTo(object)](https://learn.microsoft.com/dotnet/api/system.icomparable.compareto)

#### CompareTo(OpcResult)

Compares the current [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) with another [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/).

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

```csharp
public int CompareTo(OpcResult other)
```

</div>

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

```vbnet
Public Function CompareTo(other As OpcResult) As Integer
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `other` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) to compare with this [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/). |

**Returns**

[Int32](https://learn.microsoft.com/dotnet/api/system.int32)

A 32-bit signed integer that indicates the relative order of the objects being compared ([CompareTo(T)](https://learn.microsoft.com/dotnet/api/system.icomparable-1.compareto)).

### Equals

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

| Overload | Description |
|---|---|
| [Equals(object)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#equals-system-object)<span class="api-meta">override</span> | Determines whether the specified `other` is equal to this [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/). |
| [Equals(OpcResult)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#equals-opc-uafx-opcresult) | Determines whether the specified `other` is equal to this [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/). |

#### Equals(object)

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

Determines whether the specified `other` is equal to this [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/).

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

```csharp
public override bool Equals(object other)
```

</div>

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

```vbnet
Public Overrides Function Equals(other As Object) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `other` | [Object](https://learn.microsoft.com/dotnet/api/system.object) | The [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) to compare to the current [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/). |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if the specified [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) is equal to the current [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/); otherwise the value false.

**Overrides**

[Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals%28system-object%29)

#### Equals(OpcResult)

Determines whether the specified `other` is equal to this [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/).

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

```csharp
public bool Equals(OpcResult other)
```

</div>

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

```vbnet
Public Function Equals(other As OpcResult) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `other` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) to compare to the current [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/). |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if the specified [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) is equal to the current [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/); otherwise the value false.

### GetBaseResult

<span class="api-meta">since v2.8</span>

Returns the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) that is the root cause of one or more subsequent exceptions.

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

```csharp
public OpcResult GetBaseResult()
```

</div>

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

```vbnet
Public Function GetBaseResult() As OpcResult
```

</div>

**Returns**

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

The first result captured in a chain of results. If the [InnerResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#innerresult) property of the current result is a null reference (Nothing in Visual Basic), this method returns the current result.

### GetHashCode

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

Retrieves a hash code for this [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/).

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

```csharp
public override int GetHashCode()
```

</div>

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

```vbnet
Public Overrides Function GetHashCode() As Integer
```

</div>

**Returns**

[Int32](https://learn.microsoft.com/dotnet/api/system.int32)

An [int](https://learn.microsoft.com/dotnet/api/system.int32) that contains the hash code for the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/).

**Overrides**

[GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

### ToString

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

Returns a string that represents the current [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/).

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

```csharp
public override string ToString()
```

</div>

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

```vbnet
Public Overrides Function ToString() As String
```

</div>

**Returns**

[String](https://learn.microsoft.com/dotnet/api/system.string)

A string that represents the current [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) including the [Code](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#code) and [Description](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#description) of the result represented.

**Overrides**

[ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Operators

### Equality

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

Returns a value indicating whether two instance of [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) are equal.

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

```csharp
public static bool operator ==(OpcResult left, OpcResult right)
```

</div>

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

```vbnet
Public Shared Operator =(left As OpcResult, right As OpcResult) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The first [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) to compare. |
| `right` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The second [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) to compare. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if left and right are equal; otherwise the value false.

### Explicit

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

Converts a [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) to an <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.ServiceResult">ServiceResult</abbr> object.

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

```csharp
public static explicit operator ServiceResult(OpcResult value)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Shared Narrowing Operator CType(value As OpcResult) As ServiceResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | A [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) that represents the result. |

**Returns**

<abbr title="OPC Foundation stack type, not documented here: Opc.Ua.ServiceResult">ServiceResult</abbr>

An instance of the <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.ServiceResult">ServiceResult</abbr> class initialized from the `value`.

### GreaterThan

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

Determines whether the first specified [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object is greater than the second specified [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static bool operator >(OpcResult left, OpcResult right)
```

</div>

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

```vbnet
Public Shared Operator >(left As OpcResult, right As OpcResult) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The first [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| `right` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The second [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if `left` is greater than `right`; otherwise, false.

### GreaterThanOrEqual

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

Determines whether the first specified [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object is greater than or equal to the second specified [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static bool operator >=(OpcResult left, OpcResult right)
```

</div>

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

```vbnet
Public Shared Operator >=(left As OpcResult, right As OpcResult) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The first [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| `right` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The second [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if `left` is greater than or equal to `right`; otherwise, false.

### Implicit

<span class="api-meta">static · 27 overloads</span>

| Overload | Description |
|---|---|
| [implicit operator OpcResult(bool)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-boolean-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [bool](https://learn.microsoft.com/dotnet/api/system.boolean) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(bool?)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-nullable-of-system-boolean-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a nullable [bool](https://learn.microsoft.com/dotnet/api/system.boolean) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(byte)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-byte-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [byte](https://learn.microsoft.com/dotnet/api/system.byte) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(byte?)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-nullable-of-system-byte-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a nullable [byte](https://learn.microsoft.com/dotnet/api/system.byte) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(sbyte)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-sbyte-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [sbyte](https://learn.microsoft.com/dotnet/api/system.sbyte) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(sbyte?)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-nullable-of-system-sbyte-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a nullable [sbyte](https://learn.microsoft.com/dotnet/api/system.sbyte) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(decimal)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-decimal-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [decimal](https://learn.microsoft.com/dotnet/api/system.decimal) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(decimal?)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-nullable-of-system-decimal-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a nullable [decimal](https://learn.microsoft.com/dotnet/api/system.decimal) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(double)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-double-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [double](https://learn.microsoft.com/dotnet/api/system.double) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(double?)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-nullable-of-system-double-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a nullable [double](https://learn.microsoft.com/dotnet/api/system.double) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(float)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-single-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [float](https://learn.microsoft.com/dotnet/api/system.single) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(float?)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-nullable-of-system-single-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a nullable [float](https://learn.microsoft.com/dotnet/api/system.single) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-int32-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [int](https://learn.microsoft.com/dotnet/api/system.int32) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(int?)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-nullable-of-system-int32-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a nullable [int](https://learn.microsoft.com/dotnet/api/system.int32) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(uint)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-uint32-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [uint](https://learn.microsoft.com/dotnet/api/system.uint32) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(uint?)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-nullable-of-system-uint32-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a nullable [uint](https://learn.microsoft.com/dotnet/api/system.uint32) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(long)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-int64-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [long](https://learn.microsoft.com/dotnet/api/system.int64) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(long?)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-nullable-of-system-int64-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a nullable [long](https://learn.microsoft.com/dotnet/api/system.int64) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(ulong)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-uint64-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(ulong?)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-nullable-of-system-uint64-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a nullable [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(short)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-int16-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [short](https://learn.microsoft.com/dotnet/api/system.int16) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(short?)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-nullable-of-system-int16-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a nullable [short](https://learn.microsoft.com/dotnet/api/system.int16) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(ushort)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-system-uint16-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [ushort](https://learn.microsoft.com/dotnet/api/system.uint16) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(OpcStatus)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-opc-uafx-opcstatus-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [OpcStatus](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatus/) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(OpcStatusCode)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-opc-uafx-opcstatuscode-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(StatusCode)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-opc-ua-statuscode-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.StatusCode">StatusCode</abbr> to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| [implicit operator OpcResult(ServiceResult)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/members#op-implicit-opc-ua-serviceresult-opc-uafx-opcresult)<span class="api-meta">static</span> | Converts a <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.ServiceResult">ServiceResult</abbr> to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |

#### implicit operator OpcResult(bool)

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

Converts a [bool](https://learn.microsoft.com/dotnet/api/system.boolean) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(bool value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Boolean) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Boolean](https://learn.microsoft.com/dotnet/api/system.boolean) | A [bool](https://learn.microsoft.com/dotnet/api/system.boolean) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(bool?)

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

Converts a nullable [bool](https://learn.microsoft.com/dotnet/api/system.boolean) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(bool? value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Boolean?) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)&gt; | A nullable [bool](https://learn.microsoft.com/dotnet/api/system.boolean) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(byte)

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

Converts a [byte](https://learn.microsoft.com/dotnet/api/system.byte) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(byte value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Byte) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte) | A [byte](https://learn.microsoft.com/dotnet/api/system.byte) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(byte?)

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

Converts a nullable [byte](https://learn.microsoft.com/dotnet/api/system.byte) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(byte? value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Byte?) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[Byte](https://learn.microsoft.com/dotnet/api/system.byte)&gt; | A nullable [byte](https://learn.microsoft.com/dotnet/api/system.byte) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(sbyte)

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

Converts a [sbyte](https://learn.microsoft.com/dotnet/api/system.sbyte) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(sbyte value)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Shared Widening Operator CType(value As SByte) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [SByte](https://learn.microsoft.com/dotnet/api/system.sbyte) | A [sbyte](https://learn.microsoft.com/dotnet/api/system.sbyte) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(sbyte?)

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

Converts a nullable [sbyte](https://learn.microsoft.com/dotnet/api/system.sbyte) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(sbyte? value)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Shared Widening Operator CType(value As SByte?) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[SByte](https://learn.microsoft.com/dotnet/api/system.sbyte)&gt; | A nullable [sbyte](https://learn.microsoft.com/dotnet/api/system.sbyte) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(decimal)

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

Converts a [decimal](https://learn.microsoft.com/dotnet/api/system.decimal) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(decimal value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Decimal) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Decimal](https://learn.microsoft.com/dotnet/api/system.decimal) | A [decimal](https://learn.microsoft.com/dotnet/api/system.decimal) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(decimal?)

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

Converts a nullable [decimal](https://learn.microsoft.com/dotnet/api/system.decimal) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(decimal? value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Decimal?) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[Decimal](https://learn.microsoft.com/dotnet/api/system.decimal)&gt; | A nullable [decimal](https://learn.microsoft.com/dotnet/api/system.decimal) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(double)

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

Converts a [double](https://learn.microsoft.com/dotnet/api/system.double) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(double value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Double) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Double](https://learn.microsoft.com/dotnet/api/system.double) | A [double](https://learn.microsoft.com/dotnet/api/system.double) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(double?)

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

Converts a nullable [double](https://learn.microsoft.com/dotnet/api/system.double) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(double? value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Double?) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[Double](https://learn.microsoft.com/dotnet/api/system.double)&gt; | A nullable [double](https://learn.microsoft.com/dotnet/api/system.double) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(float)

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

Converts a [float](https://learn.microsoft.com/dotnet/api/system.single) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(float value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Single) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Single](https://learn.microsoft.com/dotnet/api/system.single) | A [float](https://learn.microsoft.com/dotnet/api/system.single) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(float?)

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

Converts a nullable [float](https://learn.microsoft.com/dotnet/api/system.single) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(float? value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Single?) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[Single](https://learn.microsoft.com/dotnet/api/system.single)&gt; | A nullable [float](https://learn.microsoft.com/dotnet/api/system.single) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(int)

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

Converts a [int](https://learn.microsoft.com/dotnet/api/system.int32) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(int value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Integer) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | A [int](https://learn.microsoft.com/dotnet/api/system.int32) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(int?)

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

Converts a nullable [int](https://learn.microsoft.com/dotnet/api/system.int32) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(int? value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Integer?) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[Int32](https://learn.microsoft.com/dotnet/api/system.int32)&gt; | A nullable [int](https://learn.microsoft.com/dotnet/api/system.int32) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(uint)

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

Converts a [uint](https://learn.microsoft.com/dotnet/api/system.uint32) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(uint value)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Shared Widening Operator CType(value As UInteger) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | A [uint](https://learn.microsoft.com/dotnet/api/system.uint32) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(uint?)

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

Converts a nullable [uint](https://learn.microsoft.com/dotnet/api/system.uint32) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(uint? value)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Shared Widening Operator CType(value As UInteger?) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[UInt32](https://learn.microsoft.com/dotnet/api/system.uint32)&gt; | A nullable [uint](https://learn.microsoft.com/dotnet/api/system.uint32) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(long)

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

Converts a [long](https://learn.microsoft.com/dotnet/api/system.int64) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(long value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Long) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Int64](https://learn.microsoft.com/dotnet/api/system.int64) | A [long](https://learn.microsoft.com/dotnet/api/system.int64) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(long?)

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

Converts a nullable [long](https://learn.microsoft.com/dotnet/api/system.int64) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(long? value)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Shared Widening Operator CType(value As Long?) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[Int64](https://learn.microsoft.com/dotnet/api/system.int64)&gt; | A nullable [long](https://learn.microsoft.com/dotnet/api/system.int64) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(ulong)

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

Converts a [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(ulong value)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Shared Widening Operator CType(value As ULong) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [UInt64](https://learn.microsoft.com/dotnet/api/system.uint64) | A [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(ulong?)

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

Converts a nullable [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(ulong? value)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Shared Widening Operator CType(value As ULong?) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[UInt64](https://learn.microsoft.com/dotnet/api/system.uint64)&gt; | A nullable [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(short)

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

Converts a [short](https://learn.microsoft.com/dotnet/api/system.int16) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(short value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Short) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Int16](https://learn.microsoft.com/dotnet/api/system.int16) | A [short](https://learn.microsoft.com/dotnet/api/system.int16) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(short?)

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

Converts a nullable [short](https://learn.microsoft.com/dotnet/api/system.int16) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(short? value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As Short?) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[Int16](https://learn.microsoft.com/dotnet/api/system.int16)&gt; | A nullable [short](https://learn.microsoft.com/dotnet/api/system.int16) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(ushort)

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

Converts a [ushort](https://learn.microsoft.com/dotnet/api/system.uint16) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(ushort value)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Shared Widening Operator CType(value As UShort) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [UInt16](https://learn.microsoft.com/dotnet/api/system.uint16) | A [ushort](https://learn.microsoft.com/dotnet/api/system.uint16) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(OpcStatus)

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

Converts a [OpcStatus](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatus/) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(OpcStatus value)
```

</div>

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

```vbnet
Public Shared Widening Operator CType(value As OpcStatus) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [OpcStatus](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatus/) | A [OpcStatus](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatus/) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(OpcStatusCode)

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

Converts a [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(OpcStatusCode value)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Shared Widening Operator CType(value As OpcStatusCode) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) | A [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(StatusCode)

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

Converts a <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.StatusCode">StatusCode</abbr> to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(StatusCode value)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Shared Widening Operator CType(value As StatusCode) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.StatusCode">StatusCode</abbr> | A <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.StatusCode">StatusCode</abbr> that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

#### implicit operator OpcResult(ServiceResult)

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

Converts a <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.ServiceResult">ServiceResult</abbr> to an [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static implicit operator OpcResult(ServiceResult value)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Shared Widening Operator CType(value As ServiceResult) As OpcResult
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.ServiceResult">ServiceResult</abbr> | A <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.ServiceResult">ServiceResult</abbr> that represents the result. |

**Returns**

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

An instance of the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) class initialized from the `value`.

### Inequality

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

Returns a value indicating whether two instances of [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) are not equal.

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

```csharp
public static bool operator !=(OpcResult left, OpcResult right)
```

</div>

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

```vbnet
Public Shared Operator <>(left As OpcResult, right As OpcResult) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The first [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) to compare. |
| `right` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The second [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) to compare. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if left and right are not equal; otherwise the value false.

### LessThan

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

Determines whether the first specified [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object is less than the second specified [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static bool operator <(OpcResult left, OpcResult right)
```

</div>

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

```vbnet
Public Shared Operator <(left As OpcResult, right As OpcResult) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The first [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| `right` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The second [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if `left` is less than `right`; otherwise the value false.

**Exceptions**

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

### LessThanOrEqual

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

Determines whether the first specified [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object is less than or equal to the second [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object.

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

```csharp
public static bool operator <=(OpcResult left, OpcResult right)
```

</div>

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

```vbnet
Public Shared Operator <=(left As OpcResult, right As OpcResult) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The first [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |
| `right` | [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) | The second [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) object. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if `left` is less than or equal to `right`; otherwise the value false.

**Exceptions**

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