Skip to content

Reference

OpcStruct Class

Defines a structured data type at runtime, e.g. to provide it by a server using Create.

Reference

OpcStruct Class ​

since v2.53

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcStruct Members

Defines a structured data type at runtime, e.g. to provide it by a server using Create.

Syntax ​

csharp
public class OpcStruct
vbnet
Public Class OpcStruct

Inheritance ​

Object → OpcStruct

Implements ​

Remarks ​

The structure keeps the fields specified; it does not copy them, so that a field changed afterwards (e.g. using AsArray) changes the structure.

Properties ​

NameDescription
BaseIdGets the identifier of the base data type of the structure.
EncodingMaskGets the encoding mask of the structure.
EncodingsGets the encodings of the structure.
IdGets the identifier of the structure.
NameGets the name of the structure.

Methods ​

NameDescription
CreateTypeInfoCreates the type information of the structure using the context and the typeId specified.
DefineSubTypestatic · 4 overloadsDefines a structure derived from the base data type specified.
DefineTypestatic · 4 overloadsDefines a structure derived from the Structure data type.
GetFieldsReturns the fields of the structure.
GetNamesReturns the names of the fields of the structure.
WithEncodingMaskSets the encoding mask of the structure.
WithEncodingsSets the encodings of the structure.

Applies to ​

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