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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.OperationModel Namespace > UAWriteArgumentsBase Class : AttributeType Property
Specifies the type that should be used when writing the selected attribute.
Syntax
'Declaration
 
Public ReadOnly Property AttributeType As Type
'Usage
 
Dim instance As UAWriteArgumentsBase
Dim value As Type
 
value = instance.AttributeType
public Type AttributeType {get;}
public:
property Type^ AttributeType {
   Type^ get();
}

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 selected attribute.
Remarks

This property can be null if the 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