IOpcDataFieldInfo Interface

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

Defines the metadata of a field declared by a data type.

C#

public interface IOpcDataFieldInfo
Name Description
DeclaringType Gets the type that declares the current IOpcDataFieldInfo.
FieldType Gets the type of value this field provides.
IsOptional Gets a value indicating whether the current field might not necessarily exist in the object defined by the DeclaringType.
Length Gets the length of the field expressed either explicit or implicit using a different IOpcDataFieldInfo.
Name Gets the name of the current IOpcDataFieldInfo.
ReflectedType Gets the type that was used to obtain this instance of IOpcDataFieldInfo.
Switch Gets the switch condition which applies to the current IOpcDataFieldInfo.
Name Description
GetValue(Object) Gets the value of the field supported by the given object instance.
SetValue(Object, Object) Sets the value of the field supported by the given object instance.