OPC Studio User's Guide and Reference
Implicit Type Conversion Operator (UAAttributeField)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAAttributeField Class : Implicit Type Conversion Operator
Simple attribute operand to be converted.

The value of this parameter can be null (Nothing in Visual Basic).

Converts a simple attribute operand to an attribute field, using no state value.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Operator Widening CType( _
   ByVal simpleAttributeOperand As UASimpleAttributeOperand _
) As UAAttributeField
'Usage
 
[CanBeNull()]
public UAAttributeField operator implicit( 
   UASimpleAttributeOperand simpleAttributeOperand
)

Parameters

simpleAttributeOperand
Simple attribute operand to be converted.

The value of this parameter can be null (Nothing in Visual Basic).

Return Value

Returns an attribute field with the given simple attribute operand.

This method can return null (Nothing in Visual Basic).

Remarks

This operator is equivalent to FromUASimpleAttributeOperand.

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