OPC Studio User's Guide and Reference
SetFilter Method (UAMonitoringParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAMonitoringParameters Class : SetFilter Method
The filter to be set.

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

Sets a filter used by the Server to determine if the MonitoredItem should generate a Notification.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Sub SetFilter( _
   ByVal filter As Object _
) 
'Usage
 
Dim instance As UAMonitoringParameters
Dim filter As Object
 
instance.SetFilter(filter)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public void SetFilter( 
   object filter
)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public:
void SetFilter( 
   Object^ filter
) 

Parameters

filter
The filter to be set.

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

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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