Reference
OpcDataField Members
Represents a data field declared by the structured data type of a specific OpcDataObject instance.
Reference
OpcDataField Members
- Type
- OpcDataField
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Properties
Exists
Gets a value indicating whether the Value of the field is part of the data object this field belongs to.
public bool Exists { get; }Public ReadOnly Property Exists As BooleanProperty value
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.
public bool HasValue { get; }Public ReadOnly Property HasValue As BooleanProperty value
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.
public bool IsOptional { get; }Public ReadOnly Property IsOptional As BooleanProperty value
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.
public long Length { get; }Public ReadOnly Property Length As LongProperty value
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.
public OpcDataField LengthField { get; }Public ReadOnly Property LengthField As OpcDataFieldProperty value
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.
public string Name { get; }Public ReadOnly Property Name As StringProperty value
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.
public OpcDataField SwitchField { get; }Public ReadOnly Property SwitchField As OpcDataFieldProperty value
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.
public object Value { get; set; }Public Property Value As ObjectProperty value
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.
public Type ValueType { get; }Public ReadOnly Property ValueType As TypeProperty value
Methods
ToString
Returns a string representing the Name, ValueType and Value of the current OpcDataField.
public override string ToString()Public Overrides Function ToString() As StringReturns
A string representing the Name,the ValueType and Value of the current OpcDataField.
Overrides

