Connectivity Software User's Guide and Reference
ContainsOperand Method (UAAttributeFieldCollection)



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA Namespace > UAAttributeFieldCollection Class : ContainsOperand Method
The simple attribute operand to search for. Must not be null.

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

Determines whether the collection contains an attribute field with the specified operand.
Syntax
'Declaration
 
Public Function ContainsOperand( _
   ByVal operand As UASimpleAttributeOperand _
) As Boolean
'Usage
 
Dim instance As UAAttributeFieldCollection
Dim operand As UASimpleAttributeOperand
Dim value As Boolean
 
value = instance.ContainsOperand(operand)
public bool ContainsOperand( 
   UASimpleAttributeOperand operand
)
public:
bool ContainsOperand( 
   UASimpleAttributeOperand^ operand
) 

Parameters

operand
The simple attribute operand to search for. Must not be null.

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

Return Value

Returns true if the collection contains an attribute field with the specified operand; otherwise, false.
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