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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.OperationModel.ComTypes Namespace > _UAWriteArgumentsBase 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 _UAWriteArgumentsBase
Dim value As Type
 
value = instance.AttributeType
[CanBeNull()]
Type AttributeType {get;}
[CanBeNull()]
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 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 member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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