Reference
OpcContentFilterElement Members
Represents an element of an OpcContentFilter, which applies an operator to its operands.
Reference
OpcContentFilterElement Members
- Type
- OpcContentFilterElement
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Constructors
OpcContentFilterElement
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the OpcelementOperator and elementOperands specified. |
| Opc | Initializes a new instance of the OpcelementOperator and elementOperands specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Argument | The elementOperands is a null reference ( |
OpcContentFilterElement(OpcFilterOperator, params OpcFilterOperand[])
Initializes a new instance of the OpcContentFilterElement class using the elementOperator and elementOperands specified.
public OpcContentFilterElement(
OpcFilterOperator elementOperator,
params OpcFilterOperand[] elementOperands)Public Sub New(
elementOperator As OpcFilterOperator,
ParamArray elementOperands As OpcFilterOperand())Parameters
| Name | Type | Description |
|---|---|---|
elementOperator | Opc | The operator of the element. |
elementOperands | params OpcFilterOperand[] | The operands of the element. |
OpcContentFilterElement(OpcFilterOperator, IEnumerable<OpcFilterOperand>)
Initializes a new instance of the OpcContentFilterElement class using the elementOperator and elementOperands specified.
public OpcContentFilterElement(
OpcFilterOperator elementOperator,
IEnumerable<OpcFilterOperand> elementOperands)Public Sub New(
elementOperator As OpcFilterOperator,
elementOperands As IEnumerable(Of OpcFilterOperand))Parameters
| Name | Type | Description |
|---|---|---|
elementOperator | Opc | The operator of the element. |
elementOperands | IEnumerable<OpcFilterOperand> | A sequence of the operands of the element. |
Properties
Operands
Gets the operands of the element.
public OpcFilterOperandReadOnlyCollection Operands { get; }Public ReadOnly Property Operands As OpcFilterOperandReadOnlyCollectionProperty value
OpcFilterOperandReadOnlyCollection
A read-only collection of the operands in the order the operator uses them.
Operator
Gets the operator of the element.
public OpcFilterOperator Operator { get; }Public ReadOnly Property [Operator] As OpcFilterOperatorProperty value
The operator applied to the Operands.
Methods
ToString
Returns a string that represents the element.
public override string ToString()Public Overrides Function ToString() As StringReturns
The string representation of the element provided by the OPC UA stack.
Overrides
Operators
BitwiseAnd
| Overload | Description |
|---|---|
| operator &( | Combines the filter left and the element right using a logical AND. |
| operator &( | Combines the element left and the filter right using a logical AND. |
| operator &( | Creates a filter which combines the elements left and right using a logical AND. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Argument | The left or right is a null reference ( |
operator &(OpcContentFilter, OpcContentFilterElement)
Combines the filter left and the element right using a logical AND.
public static OpcContentFilter operator &(
OpcContentFilter left,
OpcContentFilterElement right)Public Shared Operator And(
left As OpcContentFilter,
right As OpcContentFilterElement) As OpcContentFilterParameters
| Name | Type | Description |
|---|---|---|
left | OpcContentFilter | The filter to combine. |
right | Opc | The element to combine. |
Returns
The filter left, which has been extended by an element using the operator And.
Remarks
The filter left is changed and returned. The new element combines the filter as it has been so far with the other element.
operator &(OpcContentFilterElement, OpcContentFilter)
Combines the element left and the filter right using a logical AND.
public static OpcContentFilter operator &(
OpcContentFilterElement left,
OpcContentFilter right)Public Shared Operator And(
left As OpcContentFilterElement,
right As OpcContentFilter) As OpcContentFilterParameters
| Name | Type | Description |
|---|---|---|
left | Opc | The element to combine. |
right | OpcContentFilter | The filter to combine. |
Returns
The filter right, which has been extended by an element using the operator And.
Remarks
The filter right is changed and returned. The new element combines the filter as it has been so far with the other element.
operator &(OpcContentFilterElement, OpcContentFilterElement)
Creates a filter which combines the elements left and right using a logical AND.
public static OpcContentFilter operator &(
OpcContentFilterElement left,
OpcContentFilterElement right)Public Shared Operator And(
left As OpcContentFilterElement,
right As OpcContentFilterElement) As OpcContentFilterParameters
| Name | Type | Description |
|---|---|---|
left | Opc | The element to combine. |
right | Opc | The element to combine. |
Returns
A new OpcContentFilter whose element using the operator And combines both elements.
BitwiseOr
| Overload | Description |
|---|---|
| operator |( | Combines the filter left and the element right using a logical OR. |
| operator |( | Combines the element left and the filter right using a logical OR. |
| operator |( | Creates a filter which combines the elements left and right using a logical OR. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Argument | The left or right is a null reference ( |
operator |(OpcContentFilter, OpcContentFilterElement)
Combines the filter left and the element right using a logical OR.
public static OpcContentFilter operator |(
OpcContentFilter left,
OpcContentFilterElement right)Public Shared Operator Or(
left As OpcContentFilter,
right As OpcContentFilterElement) As OpcContentFilterParameters
| Name | Type | Description |
|---|---|---|
left | OpcContentFilter | The filter to combine. |
right | Opc | The element to combine. |
Returns
The filter left, which has been extended by an element using the operator Or.
Remarks
The filter left is changed and returned. The new element combines the filter as it has been so far with the other element.
operator |(OpcContentFilterElement, OpcContentFilter)
Combines the element left and the filter right using a logical OR.
public static OpcContentFilter operator |(
OpcContentFilterElement left,
OpcContentFilter right)Public Shared Operator Or(
left As OpcContentFilterElement,
right As OpcContentFilter) As OpcContentFilterParameters
| Name | Type | Description |
|---|---|---|
left | Opc | The element to combine. |
right | OpcContentFilter | The filter to combine. |
Returns
The filter right, which has been extended by an element using the operator Or.
Remarks
The filter right is changed and returned. The new element combines the filter as it has been so far with the other element.
operator |(OpcContentFilterElement, OpcContentFilterElement)
Creates a filter which combines the elements left and right using a logical OR.
public static OpcContentFilter operator |(
OpcContentFilterElement left,
OpcContentFilterElement right)Public Shared Operator Or(
left As OpcContentFilterElement,
right As OpcContentFilterElement) As OpcContentFilterParameters
| Name | Type | Description |
|---|---|---|
left | Opc | The element to combine. |
right | Opc | The element to combine. |
Returns
A new OpcContentFilter whose element using the operator Or combines both elements.

