Reference
OpcContentFilter Members
Represents a content filter, which consists of elements applying an operator to their operands.
Reference
OpcContentFilter Members
- Type
- OpcContentFilter
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Constructors
OpcContentFilter
| Overload | Description |
|---|---|
| OpcContentFilter( | Initializes a new instance of the OpcContentFilter class using the elements specified. |
| OpcContentFilter( | Initializes a new instance of the OpcContentFilter class using the elements specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Argument | The elements or one of its elements is a null reference ( |
OpcContentFilter(params OpcContentFilterElement[])
Initializes a new instance of the OpcContentFilter class using the elements specified.
public OpcContentFilter(params OpcContentFilterElement[] elements)Public Sub New(ParamArray elements As OpcContentFilterElement())Parameters
| Name | Type | Description |
|---|---|---|
elements | params Opc | The elements of the filter. |
OpcContentFilter(IEnumerable<OpcContentFilterElement>)
Initializes a new instance of the OpcContentFilter class using the elements specified.
public OpcContentFilter(IEnumerable<OpcContentFilterElement> elements)Public Sub New(elements As IEnumerable(Of OpcContentFilterElement))Parameters
| Name | Type | Description |
|---|---|---|
elements | IEnumerable<Opc | A sequence of the elements of the filter. |
Properties
Elements
Gets the elements of the filter.
public OpcContentFilterElementReadOnlyCollection Elements { get; }Public ReadOnly Property Elements As OpcContentFilterElementReadOnlyCollectionProperty value
OpcContentFilterElementReadOnlyCollection
A read-only collection of the elements.
Remarks
For a filter created using the operators & and | of OpcContentFilterElement, the collection contains the elements combining other elements, the most recent one first, but not the elements combined by them.
Methods
ToString
Returns a string that represents the filter.
public override string ToString()Public Overrides Function ToString() As StringReturns
The string representation of the filter provided by the OPC UA stack.
Overrides

