Skip to content

Reference

OpcDataFieldInfo Class

Provides metadata of a field declared by a data type.

Reference

OpcDataFieldInfo Class ​

since v2.8

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

Provides metadata of a field declared by a data type.

Syntax ​

csharp
public class OpcDataFieldInfo
vbnet
Public Class OpcDataFieldInfo

Inheritance ​

Object → OpcDataFieldInfo

Implements ​

Properties ​

NameDescription
CustomAttributesvirtualGets an array of custom attributes associated with this field.
DeclaringTypeGets the type that declares the current OpcDataFieldInfo.
Documentationvirtual · since v2.9Gets any semantic information that would help a human to understand what is contained in the field.
FieldTypeGets the type of value this field provides.
IsOptionalGets a value indicating whether the current field might not necessarily exist in the object defined by the DeclaringType.
LengthvirtualGets the length of the field expressed either explicit or implicit using a different OpcDataFieldInfo.
LengthFieldvirtualGets the OpcDataFieldInfo used to define the length of the current OpcDataFieldInfo.
NameGets the name of the current OpcDataFieldInfo.
ReflectedTypeGets the type that was used to obtain this instance of OpcDataFieldInfo.
SwitchvirtualGets the switch condition which applies to the current OpcDataFieldInfo.
SwitchFieldvirtualGets the OpcDataFieldInfo used to evaluate the Switch condition which applies to the current OpcDataFieldInfo.

Methods ​

NameDescription
GetLengthvirtual · since v2.58Gets the maximum length of the specified dimension of the field as the definition of its data type states it.
GetValuevirtualGets the value of the field supported by the given object instance.
SetValuevirtualSets the value of the field supported by the given object instance.
ToStringoverrideReturns a string representing the Name and FieldType of the current OpcDataFieldInfo.

Applies to ​

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