Skip to content

Reference

IOpcData Interface

Defines a subclass for data types which are programmatically not inheritable.

Reference

IOpcData<T> Interface ​

since v2.25

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
IOpcData<T> Members
Also in
Opc.UaFx.Client

Defines a subclass for data types which are programmatically not inheritable.

Syntax ​

csharp
public interface IOpcData<T>
vbnet
Public Interface IOpcData(Of T)

Type parameters ​

NameDescription
TThe Type the data type derives from. The Type of T have to be a built-in and native encodable data type (see IsSystemType).

Remarks ​

Use this interface in case where e.g. a subclass of int or string is to be defined. Such a data type needs to provide a public accessible default constructor (= without any parameters) to use the data type as subclass of T. Additionally consider implementing implicit cast operators from T to the subsclass and vice versa.

Properties ​

NameDescription
ValueGets or sets the data of the data type derived from.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.25–v2.59