Skip to content

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 ​

2 overloads

OverloadDescription
OpcContentFilter(params OpcContentFilterElement[])Initializes a new instance of the OpcContentFilter class using the elements specified.
OpcContentFilter(IEnumerable<OpcContentFilterElement>)Initializes a new instance of the OpcContentFilter class using the elements specified.

Exceptions (all overloads)

ExceptionCondition
ArgumentNullExceptionThe elements or one of its elements is a null reference (Nothing in Visual Basic).

OpcContentFilter(params OpcContentFilterElement[]) ​

Initializes a new instance of the OpcContentFilter class using the elements specified.

csharp
public OpcContentFilter(params OpcContentFilterElement[] elements)
vbnet
Public Sub New(ParamArray elements As OpcContentFilterElement())

Parameters

NameTypeDescription
elementsparams OpcContentFilterElement[]The elements of the filter.

OpcContentFilter(IEnumerable<OpcContentFilterElement>) ​

Initializes a new instance of the OpcContentFilter class using the elements specified.

csharp
public OpcContentFilter(IEnumerable<OpcContentFilterElement> elements)
vbnet
Public Sub New(elements As IEnumerable(Of OpcContentFilterElement))

Parameters

NameTypeDescription
elementsIEnumerable<OpcContentFilterElement>A sequence of the elements of the filter.

Properties ​

Elements ​

Gets the elements of the filter.

csharp
public OpcContentFilterElementReadOnlyCollection Elements { get; }
vbnet
Public ReadOnly Property Elements As OpcContentFilterElementReadOnlyCollection

Property 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 ​

override

Returns a string that represents the filter.

csharp
public override string ToString()
vbnet
Public Overrides Function ToString() As String

Returns

String

The string representation of the filter provided by the OPC UA stack.

Overrides

ToString()