OPC Studio User's Guide and Reference
FromUAAttributeFieldCollection Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAEventFilter Class : FromUAAttributeFieldCollection Method
The select clauses.

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

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

Converts an attribute field collection to an event filter, by creating a filter with given Select clauses, and no Where clause.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Shared Function FromUAAttributeFieldCollection( _
   ByVal selectClauses As UAAttributeFieldCollection _
) As UAEventFilter
'Usage
 
Dim selectClauses As UAAttributeFieldCollection
Dim value As UAEventFilter
 
value = UAEventFilter.FromUAAttributeFieldCollection(selectClauses)
[CanBeNull()]
public static UAEventFilter FromUAAttributeFieldCollection( 
   UAAttributeFieldCollection selectClauses
)
[CanBeNull()]
public:
static UAEventFilter^ FromUAAttributeFieldCollection( 
   UAAttributeFieldCollection^ selectClauses
) 

Parameters

selectClauses
The select clauses.

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

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

Return Value

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