OPC Studio User's Guide and Reference
UAFilterElements Class Members
Methods 


OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Filtering Namespace : UAFilterElements Class

The following tables list the members exposed by UAFilterElements.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Overloaded. TRUE if operand[0] and operand[1] are TRUE.

Remarks:

The following restrictions apply to the operands:
[0]: Any operand that resolves to a Boolean.
[1]: Any operand that resolves to a Boolean.
If any operand cannot be resolved to a Boolean it is considered a NULL.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. The created operand. Default namespace used when parsing the browse path string is "http://opcfoundation.org/UA/".  
Public Methodstatic (Shared in Visual Basic)Overloaded. TRUE if operand[0] is greater or equal to operand[1] and less than or equal to operand[2].

Remarks:

The following restrictions apply to the operands:
[0]: Any operand that resolves to an ordered value.
[1]: Any operand that resolves to an ordered value.
[2]: Any operand that resolves to an ordered value.
If the operands are of different types, the system shall perform any implicit conversion to match all operands to a common type. If no implicit conversion is available and the operands are of different types, the particular result is FALSE.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. The result is an integer which matches the size of the largest operand and contains a bitwise And operation of the two operands where both have been converted to the same size (largest of the two operands).

Remarks:

The following restrictions apply to the operands:
[0]: Any operand that resolves to an integer.
[1]: Any operand that resolves to an integer.
If any operand cannot be resolved to an integer it is considered a NULL.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. The result is an integer which matches the size of the largest operand and contains a bitwise Or operation of the two operands where both have been converted to the same size (largest of the two operands).

Remarks:

The following restrictions apply to the operands:
[0]: Any operand that resolves to an integer.
[1]: Any operand that resolves to an integer.
If any operand cannot be resolved to an integer it is considered a NULL.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. Converts operand[0] to a value with a data type with a NodeId identified by operand[1].

Remarks:

The following restrictions apply to the operands:
[0]: Any operand.
[1]: Any operand that resolves to a NodeId or ExpandedNodeId where the Node is of the NodeClass DataType.
If there is any error in conversion or in any of the parameters then the Cast Operation evaluates to a NULL.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. Returns a value indicating whether this instance is equal to a specified object.  
Public MethodServes as the default hash function. (Inherited from object)
Public MethodGets the System.Type of the current instance. (Inherited from object)
Public Methodstatic (Shared in Visual Basic)Overloaded. TRUE if operand[0] is greater than operand[1].

Remarks:

The following restrictions apply to the operands:
[0]: Any operand that resolves to an ordered value.
[1]: Any operand that resolves to an ordered value.
The same conversion rules as defined for Equals apply.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. TRUE if operand[0] is greater than or equal to operand[1].

Remarks:

The same conversion rules and restrictions as defined for GreaterThan apply.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. TRUE if operand[0] is equal to one or more of the remaining operands.

Remarks:

The Equals Operator is evaluated for operand[0] and each remaining operand in the list. If any Equals evaluation is TRUE, InList returns TRUE.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. TRUE if the target Node is contained in the View defined by operand[0].

Remarks:

The following restrictions apply to the operands:
[0]: Any operand that resolves to a NodeId that identifies a View Node.
If operand[0] does not resolve to a NodeId that identifies a View Node, this operation shall always be False.

 
Public Methodstatic (Shared in Visual Basic)TRUE if operand[0] is a null value.  
Public Methodstatic (Shared in Visual Basic)Overloaded. TRUE if operand[0] is less than operand[1].

Remarks:

The same conversion rules and restrictions as defined for GreaterThan apply.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. TRUE if operand[0] is less than or equal to operand[1].

Remarks:

The same conversion rules and restrictions as defined for GreaterThan apply.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. TRUE if operand[0] matches a pattern defined by operand[1].

Remarks:

The following restrictions apply to the operands:
[0]: Any operand that resolves to a String.
[1]: Any operand that resolves to a String.
This operator resolves to FALSE if no operand can be resolved to a string.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new literal operand, with given value.  
Public Methodstatic (Shared in Visual Basic)TRUE if operand[0] is FALSE.

Remarks:

The following restrictions apply to the operands:
[0]: Any operand that resolves to a Boolean.
If the operand cannot be resolved to a Boolean, the result is a NULL.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. TRUE if the target Node is of type operand[0] or of a subtype of operand[0].

Remarks:

The following restrictions apply to the operands:
[0]: Any operand that resolves to a NodeId that identifies an ObjectType or VariableType Node.
If operand[0]oes not resolve to a NodeId that identifies an ObjectType or VariableType Node, this operation shall always be False.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. TRUE if operand[0] or operand[1] are TRUE.

Remarks:

The following restrictions apply to the operands:
[0]: Any operand that resolves to a Boolean.
[1]: Any operand that resolves to a Boolean.
If any operand cannot be resolved to a Boolean it is considered a NULL.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. TRUE if the target Node is of type Operand[0] and is related to a NodeId of the type defined in Operand[1] by the Reference type defined in Operand[2].

Remarks:

Operand[0] or Operand[1] can also point to an element Reference where the referred to element is another RelatedTo operator. This allows chaining of relationships (e.g. A is related to B is related to C), where the relationship is defined by the ReferenceType defined in Operand[2]. In this case, the referred to element returns a list of NodeIds instead of TRUE or FALSE. In this case if any errors occur or any of the operands cannot be resolved to an appropriate value, the result of the chained relationship is an empty list of nodes.
Operand[3] defines the number of hops for which the relationship should be followed. If Operand[3] is 1, then objects shall be directly related. If a hop is greater than 1, then a NodeId of the type described in Operand[1] is checked for at the depth specified by the hop. In this case, the type of the intermediate Node is undefined, and only the Reference type used to reach the end Node is defined. If the requested number of hops cannot be followed, then the result is FALSE, i.e., an empty Node list. If Operand[3] is 0, the relationship is followed to its logical end in a forward direction and each Node is checked to be of the type specified in Operand[1]. If any Node satisfies this criterion, then the result is TRUE, i.e., the NodeId is included in the sub-list.
Operand [4] defines if Operands [0] and [1] should include support for subtypes of the types defined by these operands. A TRUE indicates support for subtypes.
Operand [5] defines if Operand [2] should include support for subtypes of the reference type. A TRUE indicates support for subtypes.

The following restrictions apply to the operands:
[0]: Any operand that resolves to a NodeId or ExpandedNodeId that identifies an ObjectType or VariableType Node or a reference to another element which is a RelatedTo operator.
[1]: Any operand that resolves to a NodeId or ExpandedNodeId that identifies an ObjectType or VariableType Node or a reference to another element which is a RelatedTo operator.
[2]: Any operand that resolves to a NodeId that identifies a ReferenceType Node.
[3]: Any operand that resolves to a value implicitly convertible to Uint32.
[4]: Any operand that resolves to a value implicitly convertible to a boolean; if this operand does not resolve to a Boolean, then a value of FALSE is used.
[5]: Any operand that resolves to a value implicitly convertible to a boolean; if this operand does not resolve to a Boolean, then a value of FALSE is used.
If none of the operands [0], [1], [2], [3] resolves to an appropriate value then the result of this operation shall always be False (or an Empty set in the case of a nested RelatedTo operand).

 
Public Methodstatic (Shared in Visual Basic)Overloaded. The created operand. Default namespace used when parsing the browse path string is "http://opcfoundation.org/UA/".  
Public MethodReturns a string that represents the current object. (Inherited from object)
Top
Protected Methods
 NameDescription
Protected MethodAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from object)
Protected MethodCreates a shallow copy of the current System.Object. (Inherited from object)
Top
See Also

Reference

UAFilterElements Class
OpcLabs.EasyOpc.UA.Filtering Namespace