OPC Studio User's Guide and Reference
SelectClauses Property (UAEventFilterBuilder)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAEventFilterBuilder Class : SelectClauses Property
Collection of the attribute fields to return with each Event in a Notification.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Property SelectClauses As UAAttributeFieldCollection
'Usage
 
Dim instance As UAEventFilterBuilder
Dim value As UAAttributeFieldCollection
 
instance.SelectClauses = value
 
value = instance.SelectClauses
[NotNull()]
public UAAttributeFieldCollection SelectClauses {get; set;}
[NotNull()]
public:
property UAAttributeFieldCollection^ SelectClauses {
   UAAttributeFieldCollection^ get();
   void set (    UAAttributeFieldCollection^ value);
}

Property Value

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

The individual elements of the property value cannot be null (Nothing in Visual Basic).

Because the UAEventFilter has an implicit conversion from UAAttributeFieldCollection, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned OPC UA attribute field collection (representing the Select clauses of the event filter) in any place where UAEventFilter is expected as input, and the corresponding OPC UA event filter will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the FromUAAttributeFieldCollection static method instead.

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