OPC Studio User's Guide and Reference
ValueType Property (UAAttributePointWriteParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Connectivity Namespace > UAAttributePointWriteParameters Class : ValueType Property
Specifies the type that should be used when writing the Value attribute.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<IgnoreDataMemberAttribute()>
<XmlIgnoreAttribute()>
Public Property ValueType As Type
'Usage
 
Dim instance As UAAttributePointWriteParameters
Dim value As Type
 
instance.ValueType = value
 
value = instance.ValueType
[CanBeNull()]
[IgnoreDataMember()]
[XmlIgnore()]
public Type ValueType {get; set;}
[CanBeNull()]
[IgnoreDataMember()]
[XmlIgnore()]
public:
property Type^ ValueType {
   Type^ get();
   void set (    Type^ value);
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The default value of this property is null.

The type that should be used when writing the Value attribute.
Remarks

The value of this property is not used when the UAAttributePoint.AttributeId is other than OpcLabs.EasyOpc.UA.UAAttributeId.Value.

A null value in this property means that the component will determine the type of the Value attribute from the DataType and ValueRank attributes of the node first. This can have negative implication on the performance, and introduces a dependency of the value written on the behavior of the OPC server itself.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also