Skip to content

Reference

OpcDataField Class

Represents a data field declared by the structured data type of a specific OpcDataObject instance.

Reference

OpcDataField Class ​

since v2.8

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcDataField Members
Also in
Opc.UaFx.Client

Represents a data field declared by the structured data type of a specific OpcDataObject instance.

Syntax ​

csharp
public sealed class OpcDataField
vbnet
Public NotInheritable Class OpcDataField

Inheritance ​

Object → OpcDataField

Properties ​

NameDescription
ExistsGets a value indicating whether the Value of the field is part of the data object this field belongs to.
HasValueGets a value indicating whether the Value property has been set.
IsOptionalGets a value indicating whether the current field might not necessarily exist in the data object this field belongs to.
LengthGets the length of the field expressed either explicit or implicit using a different OpcDataField.
LengthFieldGets the field which explictly controls the Length of the Value of this field.
NameGets the name of the current OpcDataField.
SwitchFieldGets the field which explictly controls the existence of the Value of this field in the data object this field belongs to.
ValueGets or sets the value associated with the current field.
ValueTypeGets the Type of Value the current field supports.

Methods ​

NameDescription
ToStringoverrideReturns a string representing the Name, ValueType and Value of the current OpcDataField.

Applies to ​

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