OPC Studio User's Guide and Reference
Operand Property (UAAttributeField)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAAttributeField Class : Operand Property
The simple attribute operand to which this field refers.
Syntax
'Declaration
 
Public Property Operand As UASimpleAttributeOperand
'Usage
 
Dim instance As UAAttributeField
Dim value As UASimpleAttributeOperand
 
instance.Operand = value
 
value = instance.Operand
public UASimpleAttributeOperand Operand {get; set;}
public:
property UASimpleAttributeOperand^ Operand {
   UASimpleAttributeOperand^ get();
   void set (    UASimpleAttributeOperand^ value);
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

Because the UAAttributeField has an implicit conversion from OpcLabs.EasyOpc.UA.Filtering.UASimpleAttributeOperand, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned OpcLabs.EasyOpc.UA.Filtering.UASimpleAttributeOperand in any place where UAAttributeField is expected as input, and the corresponding OPC UA attribute field will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the FromUASimpleAttributeOperand static method instead.

Remarks

The getter method of this property is pure, i.e. it does not have observable side effects.

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