Skip to content

Reference

IOpcDataTypeBuilder Members

Defines a builder of a data type which is defined at runtime (see OpcStruct and OpcEnum), e.g. to provide it by a server using Create.

Reference

IOpcDataTypeBuilder Members ​

Type
IOpcDataTypeBuilder
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Properties ​

Id ​

Gets the identifier of the data type.

csharp
OpcNodeId Id { get; }
vbnet
ReadOnly Property Id As OpcNodeId

Property value

OpcNodeId

The identifier of the data type, or Null if none has been specified.

Name ​

Gets the name of the data type.

csharp
OpcName Name { get; }
vbnet
ReadOnly Property Name As OpcName

Property value

OpcName

The name of the data type.

Methods ​

CreateTypeInfo ​

Creates the type information of the data type using the context and the typeId specified.

csharp
IOpcDataTypeInfo CreateTypeInfo(OpcContext context, OpcNodeId typeId)
vbnet
Function CreateTypeInfo(
    context As OpcContext,
    typeId As OpcNodeId) As IOpcDataTypeInfo

Parameters

NameTypeDescription
contextOpcContextThe context used to resolve the data types the data type refers to.
typeIdOpcNodeIdThe identifier of the data type to create.

Returns

IOpcDataTypeInfo

The type information of the data type.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe context or the typeId is a null reference (Nothing in Visual Basic).