OPC Studio User's Guide and Reference
FromUASimpleAttributeOperand Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAAttributeField Class : FromUASimpleAttributeOperand Method
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 Shared Function FromUASimpleAttributeOperand( _
   ByVal simpleAttributeOperand As UASimpleAttributeOperand _
) As UAAttributeField
'Usage
 
Dim simpleAttributeOperand As UASimpleAttributeOperand
Dim value As UAAttributeField
 
value = UAAttributeField.FromUASimpleAttributeOperand(simpleAttributeOperand)
[CanBeNull()]
public static UAAttributeField FromUASimpleAttributeOperand( 
   UASimpleAttributeOperand simpleAttributeOperand
)
[CanBeNull()]
public:
static UAAttributeField^ FromUASimpleAttributeOperand( 
   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

In languages that support implicit conversions (such as C# or VB.NET), in many cases you do not have call this method explicitly. When indicated, a call to an available equivalent implicit conversion operator will be created by the compiler automatically.

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