Reference
OpcStruct Class
Defines a structured data type at runtime, e.g. to provide it by a server using Create.
Reference
OpcStruct Class
- 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 OpcStructvbnet
Public Class OpcStructInheritance
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
| Name | Description |
|---|---|
| BaseId | Gets the identifier of the base data type of the structure. |
| EncodingMask | Gets the encoding mask of the structure. |
| Encodings | Gets the encodings of the structure. |
| Id | Gets the identifier of the structure. |
| Name | Gets the name of the structure. |
Methods
| Name | Description |
|---|---|
| CreateTypeInfo | Creates the type information of the structure using the context and the typeId specified. |
| DefineSubType | Defines a structure derived from the base data type specified. |
| DefineType | Defines a structure derived from the Structure data type. |
| GetFields | Returns the fields of the structure. |
| GetNames | Returns the names of the fields of the structure. |
| WithEncodingMask | Sets the encoding mask of the structure. |
| WithEncodings | Sets the encodings of the structure. |
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

