Reference
IOpcDataFieldInfo Members
Defines the metadata of a field declared by a data type.
Reference
IOpcDataFieldInfo Members
- Type
- IOpcDataFieldInfo
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Properties
DeclaringType
Gets the type that declares the current IOpcDataFieldInfo.
IOpcDataTypeInfo DeclaringType { get; }ReadOnly Property DeclaringType As IOpcDataTypeInfoProperty value
The IOpcDataTypeInfo which declares the current IOpcDataFieldInfo.
FieldType
Gets the type of value this field provides.
IOpcDataTypeInfo FieldType { get; }ReadOnly Property FieldType As IOpcDataTypeInfoProperty value
The IOpcDataTypeInfo representing 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.
bool IsOptional { get; }ReadOnly Property IsOptional As BooleanProperty value
The value true if the field might not always exists; otherwise the value false. Additionally see the Switch property.
Length
Gets the length of the field expressed either explicit or implicit using a different IOpcDataFieldInfo.
OpcMemberLength Length { get; }ReadOnly Property Length As OpcMemberLengthProperty value
An instance of the OpcMemberLength class with the explicit length of the field or the reference to the IOpcDataFieldInfo its value expresses the length of the current IOpcDataFieldInfo.
Name
Gets the name of the current IOpcDataFieldInfo.
string Name { get; }ReadOnly Property Name As StringProperty value
A string containing the name of this field.
ReflectedType
Gets the type that was used to obtain this instance of IOpcDataFieldInfo.
IOpcDataTypeInfo ReflectedType { get; }ReadOnly Property ReflectedType As IOpcDataTypeInfoProperty value
An IOpcDataTypeInfo object used to obtain this instance.
Switch
Gets the switch condition which applies to the current IOpcDataFieldInfo.
OpcMemberSwitch Switch { get; }ReadOnly Property Switch As OpcMemberSwitchProperty value
An instance of the OpcMemberSwitch class which defines the conditions to fulfill so that the current IOpcDataFieldInfo exists in an instance.
Methods
GetValue
Gets the value of the field supported by the given object instance.
object GetValue(object instance)Function GetValue(instance As Object) As ObjectParameters
| Name | Type | Description |
|---|---|---|
instance | Object | The object whose field value will be returned. |
Returns
An object containing the value of the field reflected by this instance.
SetValue
Sets the value of the field supported by the given object instance.
void SetValue(object instance, object value)Sub SetValue(instance As Object, value As Object)Parameters
| Name | Type | Description |
|---|---|---|
instance | Object | The object whose field value will be set. |
value | Object | The value to assign to the field. |

