OPC Studio User's Guide and Reference
AttributeType Property (_UAWriteValueArguments)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.OperationModel.ComTypes Namespace > _UAWriteValueArguments Interface : AttributeType Property
Specifies the type that should be used when writing the selected attribute.
Syntax
'Declaration
 
<CanBeNullAttribute()>
ReadOnly Property AttributeType As Type
'Usage
 
Dim instance As _UAWriteValueArguments
Dim value As Type
 
value = instance.AttributeType
[CanBeNull()]
Type AttributeType {get;}
[CanBeNull()]
property Type^ AttributeType {
   Type^ get();
}

Property Value

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

This property can be null if the OpcLabs.EasyOpc.UA.OperationModel.UAAttributeArguments.AttributeId is equal to OpcLabs.EasyOpc.UA.UAAttributeId.Value, and ValueType is null.

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.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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