Skip to content

Reference

OpcFilterOperand Members

Provides an abstract base class for the operands of an OpcContentFilterElement, which creates the elements applying an operator to the operand.

Reference

OpcFilterOperand Members ​

Type
OpcFilterOperand
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Constructors ​

OpcFilterOperand ​

protected

Initializes a new instance of the OpcFilterOperand class using the content specified.

csharp
protected OpcFilterOperand(FilterOperand content)
vbnet
Protected Sub New(content As FilterOperand)

Parameters

NameTypeDescription
contentFilterOperandThe FilterOperand to wrap, maintain and represented.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

Methods ​

Between ​

2 overloads

OverloadDescription
Between(object, object)Creates an element which determines whether this operand is greater than or equal to the lower value and less than or equal to the upper value.
Between(OpcFilterOperand, OpcFilterOperand)Creates an element which determines whether this operand is greater than or equal to the lower operand and less than or equal to the upper operand.

Between(object, object) ​

Creates an element which determines whether this operand is greater than or equal to the lower value and less than or equal to the upper value.

csharp
public OpcContentFilterElement Between(object lower, object upper)
vbnet
Public Function Between(
    lower As Object,
    upper As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
lowerObjectThe lower bound, which is used as an OpcLiteralOperand.
upperObjectThe upper bound, which is used as an OpcLiteralOperand.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator Between whose operands are this operand and both bounds.

Between(OpcFilterOperand, OpcFilterOperand) ​

Creates an element which determines whether this operand is greater than or equal to the lower operand and less than or equal to the upper operand.

csharp
public OpcContentFilterElement Between(
    OpcFilterOperand lower,
    OpcFilterOperand upper)
vbnet
Public Function Between(
    lower As OpcFilterOperand,
    upper As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
lowerOpcFilterOperandThe operand of the lower bound.
upperOpcFilterOperandThe operand of the upper bound.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator Between whose operands are this operand and both bounds.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe lower or upper is a null reference (Nothing in Visual Basic).

Cast ​

2 overloads

OverloadDescription
Cast(object)Creates an element which converts this operand to the data type identified by the right value.
Cast(OpcFilterOperand)Creates an element which converts this operand to the data type identified by the right operand.

Cast(object) ​

Creates an element which converts this operand to the data type identified by the right value.

csharp
public OpcContentFilterElement Cast(object right)
vbnet
Public Function Cast(right As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
rightObjectThe value identifying the data type, which is used as an OpcLiteralOperand.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator Cast.

Cast(OpcFilterOperand) ​

Creates an element which converts this operand to the data type identified by the right operand.

csharp
public OpcContentFilterElement Cast(OpcFilterOperand right)
vbnet
Public Function Cast(right As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
rightOpcFilterOperandThe operand identifying the data type.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator Cast.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe right is a null reference (Nothing in Visual Basic).

Equals ​

2 overloads

OverloadDescription
Equals(object)overrideDetermines whether the specified other is equal to this OpcFilterOperand.
Equals(OpcFilterOperand)Determines whether the specified other is equal to this OpcFilterOperand.

Equals(object) ​

override

Determines whether the specified other is equal to this OpcFilterOperand.

csharp
public override bool Equals(object other)
vbnet
Public Overrides Function Equals(other As Object) As Boolean

Parameters

NameTypeDescription
otherObjectThe OpcFilterOperand to compare to the current OpcFilterOperand.

Returns

Boolean

The value true if the specified OpcFilterOperand is equal to the current OpcFilterOperand; otherwise the value false.

Overrides

Equals(object)

Equals(OpcFilterOperand) ​

Determines whether the specified other is equal to this OpcFilterOperand.

csharp
public bool Equals(OpcFilterOperand other)
vbnet
Public Function Equals(other As OpcFilterOperand) As Boolean

Parameters

NameTypeDescription
otherOpcFilterOperandThe OpcFilterOperand to compare to the current OpcFilterOperand.

Returns

Boolean

The value true if the specified OpcFilterOperand is equal to the current OpcFilterOperand; otherwise the value false.

EqualsTo ​

2 overloads

OverloadDescription
EqualsTo(object)Creates an element which determines whether this operand is equal to the right value.
EqualsTo(OpcFilterOperand)Creates an element which determines whether this operand is equal to the right operand.

EqualsTo(object) ​

Creates an element which determines whether this operand is equal to the right value.

csharp
public OpcContentFilterElement EqualsTo(object right)
vbnet
Public Function EqualsTo(right As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
rightObjectThe value to compare with, which is used as an OpcLiteralOperand.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator EqualsTo.

EqualsTo(OpcFilterOperand) ​

Creates an element which determines whether this operand is equal to the right operand.

csharp
public OpcContentFilterElement EqualsTo(OpcFilterOperand right)
vbnet
Public Function EqualsTo(right As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
rightOpcFilterOperandThe operand to compare with.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator EqualsTo.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe right is a null reference (Nothing in Visual Basic).

GetHashCode ​

override

Retrieves a hash code for this OpcFilterOperand.

csharp
public override int GetHashCode()
vbnet
Public Overrides Function GetHashCode() As Integer

Returns

Int32

An int that contains the hash code for the OpcFilterOperand.

Overrides

GetHashCode()

GreaterThan ​

2 overloads

OverloadDescription
GreaterThan(object)Creates an element which determines whether this operand is greater than the right value.
GreaterThan(OpcFilterOperand)Creates an element which determines whether this operand is greater than the right operand.

GreaterThan(object) ​

Creates an element which determines whether this operand is greater than the right value.

csharp
public OpcContentFilterElement GreaterThan(object right)
vbnet
Public Function GreaterThan(right As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
rightObjectThe value to compare with, which is used as an OpcLiteralOperand.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator GreaterThan.

GreaterThan(OpcFilterOperand) ​

Creates an element which determines whether this operand is greater than the right operand.

csharp
public OpcContentFilterElement GreaterThan(OpcFilterOperand right)
vbnet
Public Function GreaterThan(
    right As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
rightOpcFilterOperandThe operand to compare with.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator GreaterThan.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe right is a null reference (Nothing in Visual Basic).

GreaterThanOrEqualsTo ​

2 overloads

OverloadDescription
GreaterThanOrEqualsTo(object)Creates an element which determines whether this operand is greater than or equal to the right value.
GreaterThanOrEqualsTo(OpcFilterOperand)Creates an element which determines whether this operand is greater than or equal to the right operand.

GreaterThanOrEqualsTo(object) ​

Creates an element which determines whether this operand is greater than or equal to the right value.

csharp
public OpcContentFilterElement GreaterThanOrEqualsTo(object right)
vbnet
Public Function GreaterThanOrEqualsTo(
    right As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
rightObjectThe value to compare with, which is used as an OpcLiteralOperand.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator GreaterThanOrEqualsTo.

GreaterThanOrEqualsTo(OpcFilterOperand) ​

Creates an element which determines whether this operand is greater than or equal to the right operand.

csharp
public OpcContentFilterElement GreaterThanOrEqualsTo(OpcFilterOperand right)
vbnet
Public Function GreaterThanOrEqualsTo(
    right As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
rightOpcFilterOperandThe operand to compare with.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator GreaterThanOrEqualsTo.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe right is a null reference (Nothing in Visual Basic).

InList ​

Creates an element which determines whether this operand is equal to the item or one of the items specified.

csharp
public OpcContentFilterElement InList(
    OpcFilterOperand item,
    params OpcFilterOperand[] items)
vbnet
Public Function InList(
    item As OpcFilterOperand,
    ParamArray items As OpcFilterOperand()) As OpcContentFilterElement

Parameters

NameTypeDescription
itemOpcFilterOperandThe first operand to compare with.
itemsparams OpcFilterOperand[]The further operands to compare with.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator InList.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe item or items is a null reference (Nothing in Visual Basic).

InView ​

Creates an element which determines whether the node the filter is applied to is contained in the view identified by this operand.

csharp
public OpcContentFilterElement InView()
vbnet
Public Function InView() As OpcContentFilterElement

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator InView.

IsNull ​

Creates an element which determines whether this operand is a null value.

csharp
public OpcContentFilterElement IsNull()
vbnet
Public Function IsNull() As OpcContentFilterElement

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator IsNull.

LessThan ​

2 overloads

OverloadDescription
LessThan(object)Creates an element which determines whether this operand is less than the right value.
LessThan(OpcFilterOperand)Creates an element which determines whether this operand is less than the right operand.

LessThan(object) ​

Creates an element which determines whether this operand is less than the right value.

csharp
public OpcContentFilterElement LessThan(object right)
vbnet
Public Function LessThan(right As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
rightObjectThe value to compare with, which is used as an OpcLiteralOperand.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator LessThan.

LessThan(OpcFilterOperand) ​

Creates an element which determines whether this operand is less than the right operand.

csharp
public OpcContentFilterElement LessThan(OpcFilterOperand right)
vbnet
Public Function LessThan(right As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
rightOpcFilterOperandThe operand to compare with.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator LessThan.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe right is a null reference (Nothing in Visual Basic).

LessThanOrEqualsTo ​

2 overloads

OverloadDescription
LessThanOrEqualsTo(object)Creates an element which determines whether this operand is less than or equal to the right value.
LessThanOrEqualsTo(OpcFilterOperand)Creates an element which determines whether this operand is less than or equal to the right operand.

LessThanOrEqualsTo(object) ​

Creates an element which determines whether this operand is less than or equal to the right value.

csharp
public OpcContentFilterElement LessThanOrEqualsTo(object right)
vbnet
Public Function LessThanOrEqualsTo(right As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
rightObjectThe value to compare with, which is used as an OpcLiteralOperand.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator LessThanOrEqualsTo.

LessThanOrEqualsTo(OpcFilterOperand) ​

Creates an element which determines whether this operand is less than or equal to the right operand.

csharp
public OpcContentFilterElement LessThanOrEqualsTo(OpcFilterOperand right)
vbnet
Public Function LessThanOrEqualsTo(
    right As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
rightOpcFilterOperandThe operand to compare with.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator LessThanOrEqualsTo.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe right is a null reference (Nothing in Visual Basic).

Like ​

2 overloads

OverloadDescription
Like(object)Creates an element which determines whether this operand matches the pattern of the right value.
Like(OpcFilterOperand)Creates an element which determines whether this operand matches the pattern of the right operand.

Like(object) ​

Creates an element which determines whether this operand matches the pattern of the right value.

csharp
public OpcContentFilterElement Like(object right)
vbnet
Public Function [Like](right As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
rightObjectThe value providing the pattern, which is used as an OpcLiteralOperand.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator Like.

Like(OpcFilterOperand) ​

Creates an element which determines whether this operand matches the pattern of the right operand.

csharp
public OpcContentFilterElement Like(OpcFilterOperand right)
vbnet
Public Function [Like](right As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
rightOpcFilterOperandThe operand providing the pattern.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator Like.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe right is a null reference (Nothing in Visual Basic).

Not ​

Creates an element which determines whether this operand, a Boolean value, is false.

csharp
public OpcContentFilterElement Not()
vbnet
Public Function [Not]() As OpcContentFilterElement

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator Not.

OfType ​

2 overloads

OverloadDescription
OfType(OpcNodeId)static · since v2.19Creates an element which determines whether the node the filter is applied to is of the type identified by the typeId specified.
OfType()Creates an element which determines whether the node the filter is applied to is of the type identified by this operand.

OfType(OpcNodeId) ​

static · since v2.19

Creates an element which determines whether the node the filter is applied to is of the type identified by the typeId specified.

csharp
public static OpcContentFilterElement OfType(OpcNodeId typeId)
vbnet
Public Shared Function OfType(typeId As OpcNodeId) As OpcContentFilterElement

Parameters

NameTypeDescription
typeIdOpcNodeIdThe identifier of the type.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator OfType.

OfType() ​

Creates an element which determines whether the node the filter is applied to is of the type identified by this operand.

csharp
public OpcContentFilterElement OfType()
vbnet
Public Function OfType() As OpcContentFilterElement

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator OfType.

ToString ​

override

Returns a string that represents the operand.

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

Returns

String

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

Overrides

ToString()

Operators ​

Equality ​

static · 2 overloads

OverloadDescription
operator ==(OpcFilterOperand, object)staticCreates an element which determines whether the left operand is equal to the right value.
operator ==(OpcFilterOperand, OpcFilterOperand)staticCreates an element which determines whether the left operand is equal to the right operand.

Exceptions (all overloads)

ExceptionCondition
ArgumentNullExceptionThe left is a null reference (Nothing in Visual Basic).

operator ==(OpcFilterOperand, object) ​

static

Creates an element which determines whether the left operand is equal to the right value.

csharp
public static OpcContentFilterElement operator ==(
    OpcFilterOperand left,
    object right)
vbnet
Public Shared Operator =(
    left As OpcFilterOperand,
    right As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
leftOpcFilterOperandThe operand to compare.
rightObjectThe value to compare with, which is used as an OpcLiteralOperand.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator EqualsTo.

Remarks

The operator does not compare the operands; use Equals to compare them.

operator ==(OpcFilterOperand, OpcFilterOperand) ​

static

Creates an element which determines whether the left operand is equal to the right operand.

csharp
public static OpcContentFilterElement operator ==(
    OpcFilterOperand left,
    OpcFilterOperand right)
vbnet
Public Shared Operator =(
    left As OpcFilterOperand,
    right As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
leftOpcFilterOperandThe operand to compare.
rightOpcFilterOperandThe operand to compare with.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator EqualsTo.

Remarks

The operator does not compare the operands; use Equals to compare them.

GreaterThan ​

static · 2 overloads

OverloadDescription
operator >(OpcFilterOperand, object)staticCreates an element which determines whether the left operand is greater than the right value.
operator >(OpcFilterOperand, OpcFilterOperand)staticCreates an element which determines whether the left operand is greater than the right operand.

operator >(OpcFilterOperand, object) ​

static

Creates an element which determines whether the left operand is greater than the right value.

csharp
public static OpcContentFilterElement operator >(
    OpcFilterOperand left,
    object right)
vbnet
Public Shared Operator >(
    left As OpcFilterOperand,
    right As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
leftOpcFilterOperandThe operand to compare.
rightObjectThe value to compare with, which is used as an OpcLiteralOperand.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator GreaterThan.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe left is a null reference (Nothing in Visual Basic).

operator >(OpcFilterOperand, OpcFilterOperand) ​

static

Creates an element which determines whether the left operand is greater than the right operand.

csharp
public static OpcContentFilterElement operator >(
    OpcFilterOperand left,
    OpcFilterOperand right)
vbnet
Public Shared Operator >(
    left As OpcFilterOperand,
    right As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
leftOpcFilterOperandThe operand to compare.
rightOpcFilterOperandThe operand to compare with.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator GreaterThan.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe left or right is a null reference (Nothing in Visual Basic).

GreaterThanOrEqual ​

static · 2 overloads

OverloadDescription
operator >=(OpcFilterOperand, object)staticCreates an element which determines whether the left operand is greater than or equal to the right value.
operator >=(OpcFilterOperand, OpcFilterOperand)staticCreates an element which determines whether the left operand is greater than or equal to the right operand.

operator >=(OpcFilterOperand, object) ​

static

Creates an element which determines whether the left operand is greater than or equal to the right value.

csharp
public static OpcContentFilterElement operator >=(
    OpcFilterOperand left,
    object right)
vbnet
Public Shared Operator >=(
    left As OpcFilterOperand,
    right As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
leftOpcFilterOperandThe operand to compare.
rightObjectThe value to compare with, which is used as an OpcLiteralOperand.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator GreaterThanOrEqualsTo.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe left is a null reference (Nothing in Visual Basic).

operator >=(OpcFilterOperand, OpcFilterOperand) ​

static

Creates an element which determines whether the left operand is greater than or equal to the right operand.

csharp
public static OpcContentFilterElement operator >=(
    OpcFilterOperand left,
    OpcFilterOperand right)
vbnet
Public Shared Operator >=(
    left As OpcFilterOperand,
    right As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
leftOpcFilterOperandThe operand to compare.
rightOpcFilterOperandThe operand to compare with.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator GreaterThanOrEqualsTo.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe left or right is a null reference (Nothing in Visual Basic).

Inequality ​

static · 2 overloads

OverloadDescription
operator !=(OpcFilterOperand, object)staticNot supported.
operator !=(OpcFilterOperand, OpcFilterOperand)staticNot supported.

Exceptions (all overloads)

ExceptionCondition
NotSupportedExceptionAlways, because the operator is not supported. An element which determines whether the operands differ can be built from the operators < and > combined using the operator |.

operator !=(OpcFilterOperand, object) ​

static

Not supported.

csharp
public static OpcContentFilterElement operator !=(
    OpcFilterOperand left,
    object right)
vbnet
Public Shared Operator <>(
    left As OpcFilterOperand,
    right As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
leftOpcFilterOperandThe operand to compare.
rightObjectThe value to compare with.

Returns

OpcContentFilterElement

No value, because the operator always throws an exception.

operator !=(OpcFilterOperand, OpcFilterOperand) ​

static

Not supported.

csharp
public static OpcContentFilterElement operator !=(
    OpcFilterOperand left,
    OpcFilterOperand right)
vbnet
Public Shared Operator <>(
    left As OpcFilterOperand,
    right As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
leftOpcFilterOperandThe operand to compare.
rightOpcFilterOperandThe operand to compare with.

Returns

OpcContentFilterElement

No value, because the operator always throws an exception.

LessThan ​

static · 2 overloads

OverloadDescription
operator <(OpcFilterOperand, object)staticCreates an element which determines whether the left operand is less than the right value.
operator <(OpcFilterOperand, OpcFilterOperand)staticCreates an element which determines whether the left operand is less than the right operand.

operator <(OpcFilterOperand, object) ​

static

Creates an element which determines whether the left operand is less than the right value.

csharp
public static OpcContentFilterElement operator <(
    OpcFilterOperand left,
    object right)
vbnet
Public Shared Operator <(
    left As OpcFilterOperand,
    right As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
leftOpcFilterOperandThe operand to compare.
rightObjectThe value to compare with, which is used as an OpcLiteralOperand.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator LessThan.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe left is a null reference (Nothing in Visual Basic).

operator <(OpcFilterOperand, OpcFilterOperand) ​

static

Creates an element which determines whether the left operand is less than the right operand.

csharp
public static OpcContentFilterElement operator <(
    OpcFilterOperand left,
    OpcFilterOperand right)
vbnet
Public Shared Operator <(
    left As OpcFilterOperand,
    right As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
leftOpcFilterOperandThe operand to compare.
rightOpcFilterOperandThe operand to compare with.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator LessThan.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe left or right is a null reference (Nothing in Visual Basic).

LessThanOrEqual ​

static · 2 overloads

OverloadDescription
operator <=(OpcFilterOperand, object)staticCreates an element which determines whether the left operand is less than or equal to the right value.
operator <=(OpcFilterOperand, OpcFilterOperand)staticCreates an element which determines whether the left operand is less than or equal to the right operand.

operator <=(OpcFilterOperand, object) ​

static

Creates an element which determines whether the left operand is less than or equal to the right value.

csharp
public static OpcContentFilterElement operator <=(
    OpcFilterOperand left,
    object right)
vbnet
Public Shared Operator <=(
    left As OpcFilterOperand,
    right As Object) As OpcContentFilterElement

Parameters

NameTypeDescription
leftOpcFilterOperandThe operand to compare.
rightObjectThe value to compare with, which is used as an OpcLiteralOperand.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator LessThanOrEqualsTo.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe left is a null reference (Nothing in Visual Basic).

operator <=(OpcFilterOperand, OpcFilterOperand) ​

static

Creates an element which determines whether the left operand is less than or equal to the right operand.

csharp
public static OpcContentFilterElement operator <=(
    OpcFilterOperand left,
    OpcFilterOperand right)
vbnet
Public Shared Operator <=(
    left As OpcFilterOperand,
    right As OpcFilterOperand) As OpcContentFilterElement

Parameters

NameTypeDescription
leftOpcFilterOperandThe operand to compare.
rightOpcFilterOperandThe operand to compare with.

Returns

OpcContentFilterElement

An OpcContentFilterElement using the operator LessThanOrEqualsTo.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe left or right is a null reference (Nothing in Visual Basic).