IOpcDataFieldInfo Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The IOpcDataFieldInfo interface defines the following members.

DeclaringType

Gets the type that declares the current IOpcDataFieldInfo.

C#

IOpcDataTypeInfo DeclaringType { get; }


Property Value

IOpcDataTypeInfo

The IOpcDataTypeInfo which declares the current IOpcDataFieldInfo.

FieldType

Gets the type of value this field provides.

C#

IOpcDataTypeInfo FieldType { get; }


Property Value

IOpcDataTypeInfo

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.

C#

bool IsOptional { get; }


Property Value

Boolean

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.

C#

OpcMemberLength Length { get; }


Property Value

OpcMemberLength

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.

C#

string Name { get; }


Property Value

String

A String containing the name of this field.

ReflectedType

Gets the type that was used to obtain this instance of IOpcDataFieldInfo.

C#

IOpcDataTypeInfo ReflectedType { get; }


Property Value

IOpcDataTypeInfo

An IOpcDataTypeInfo object used to obtain this instance.

Switch

Gets the switch condition which applies to the current IOpcDataFieldInfo.

C#

OpcMemberSwitch Switch { get; }


Property Value

OpcMemberSwitch

An instance of the OpcMemberSwitch class which defines the conditions to fulfill so that the current IOpcDataFieldInfo exists in an instance.

GetValue(Object)

Gets the value of the field supported by the given object instance.

C#

object GetValue(object instance)


Parameters

instance Object

The Object whose field value will be returned.


Returns

Object

An object containing the value of the field reflected by this instance.

SetValue(Object, Object)

Sets the value of the field supported by the given object instance.

C#

void SetValue(object instance, object value)


Parameters

instance Object

The Object whose field value will be set.

value Object

The value to assign to the field.