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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAEventFilterBuilder Class : DefaultSelectClauses Property
Default select clauses. An empty collection.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared ReadOnly Property DefaultSelectClauses As UAAttributeFieldCollection
'Usage
 
Dim value As UAAttributeFieldCollection
 
value = UAEventFilterBuilder.DefaultSelectClauses
[NotNull()]
public static UAAttributeFieldCollection DefaultSelectClauses {get;}
[NotNull()]
public:
static property UAAttributeFieldCollection^ DefaultSelectClauses {
   UAAttributeFieldCollection^ get();
}

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