OpcDataField Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcDataField type exposes the following members.

Exists

Gets a value indicating whether the Value of the field is part of the data object this field belongs to.

C#

public bool Exists { get; }


Property Value

Boolean

The value true if the Value of this field is part of the data object this field belongs to; otherwise the value false.

HasValue

Gets a value indicating whether the Value property has been set.

C#

public bool HasValue { get; }


Property Value

Boolean

The value true if the Value property has been seen; otherwise the value false.

IsOptional

Gets a value indicating whether the current field might not necessarily exist in the data object this field belongs to.

C#

public bool IsOptional { get; }


Property Value

Boolean

The value true if the field might not always exists; otherwise the value false.

Length

Gets the length of the field expressed either explicit or implicit using a different OpcDataField.

C#

public long Length { get; }


Property Value

Int64

The total number of elements in the Value of the field or -1 if this field neither uses an explicit nor implicit length.

LengthField

Gets the field which explictly controls the Length of the Value of this field.

C#

public OpcDataField LengthField { get; }


Property Value

OpcDataField

An instance of the OpcDataField in the data object (this field belongs to) which controls the length of the Value of the current field.

Name

Gets the name of the current OpcDataField.

C#

public string Name { get; }


Property Value

String

A String containing the name of this field.

SwitchField

Gets the field which explictly controls the existence of the Value of this field in the data object this field belongs to.

C#

public OpcDataField SwitchField { get; }


Property Value

OpcDataField

An instance of the OpcDataField in the data object (this field belongs to) which controls the existence of the Value of the current field.

Value

Gets or sets the value associated with the current field.

C#

public object Value { get; set; }


Property Value

Object

The value associated with the current field or a null reference (Nothing in Visual Basic) if there is no value associated with the current field in the data object the field belongs to.

ValueType

Gets the Type of Value the current field supports.

C#

public Type ValueType { get; }


Property Value

Type

The Type of Value supported.

ToString()

Returns a String representing the Name, ValueType and Value of the current OpcDataField.

C#

public override string ToString()


Returns

String

A String representing the Name,the ValueType and Value of the current OpcDataField.