OPC Studio User's Guide and Reference
ContentFilter Property (UAPublishedEventsElement)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAPublishedEventsElement Class : ContentFilter Property
Defines the filter applied to the events.
Syntax
'Declaration
 
Public Property ContentFilter As UAContentFilterElement
'Usage
 
Dim instance As UAPublishedEventsElement
Dim value As UAContentFilterElement
 
instance.ContentFilter = value
 
value = instance.ContentFilter
public UAContentFilterElement ContentFilter {get; set;}
public:
property UAContentFilterElement^ ContentFilter {
   UAContentFilterElement^ get();
   void set (    UAContentFilterElement^ value);
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The default value of this property is null.

Remarks

Because the OpcLabs.EasyOpc.UA.Filtering.UAContentFilterElementBuilder has an implicit conversion to OpcLabs.EasyOpc.UA.Filtering.UAContentFilterElement, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use a OpcLabs.EasyOpc.UA.Filtering.UAContentFilterElementBuilder in place of OpcLabs.EasyOpc.UA.Filtering.UAContentFilterElement value when setting this property, and the corresponding OPC UA content filter element will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can convert a OpcLabs.EasyOpc.UA.Filtering.UAContentFilterElementBuilder to OpcLabs.EasyOpc.UA.Filtering.UAContentFilterElement using the OpcLabs.EasyOpc.UA.Filtering.UAContentFilterElementBuilder.ToUAContentFilterElement 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