Skip to main content
A newer version of this page is available. .

ContainsOperator Methods

An operator which checks if a collection contains at least one object matching a specific criteria.
Name Description
Accept(ICriteriaVisitor) For internal use. Inherited from AggregateOperand.
Accept<T>(ICriteriaVisitor<T>) For internal use. Inherited from AggregateOperand.
And(CriteriaOperator, CriteriaOperator) static Returns the expression which groups two operands with logical AND. Inherited from CriteriaOperator.
And(CriteriaOperator[]) static Returns the expression which groups the specified operands with logical AND. Inherited from CriteriaOperator.
And(IEnumerable<CriteriaOperator>) static Returns the expression which groups the specified operands with logical AND. Inherited from CriteriaOperator.
Avg(CriteriaOperator) Creates a new AggregateOperand which returns the average of values calculated by the given aggregate expression. This expression is evaluated against elements of the AggregateOperand.CollectionProperty that match the specified AggregateOperand.Condition. Inherited from AggregateOperand.
Clone() Creates a copy of the current AggregateOperand instance. Inherited from AggregateOperand.
Clone(CriteriaOperator) static Creates a copy of the specified CriteriaOperator object. Inherited from CriteriaOperator.
Clone(OperandProperty) static Creates a copy of the specified OperandProperty object. Inherited from CriteriaOperator.
Count() Creates a new AggregateOperand which returns the count of AggregateOperand.CollectionProperty elements that match the AggregateOperand.Condition. Inherited from AggregateOperand.
Count(CriteriaOperator) Creates a new AggregateOperand which returns the count of AggregateOperand.CollectionProperty elements that match the AggregateOperand.Condition. Inherited from AggregateOperand.
CriterionEquals(CriteriaOperator, CriteriaOperator) static This method is intended for internal use. Inherited from CriteriaOperator.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the current object has the same settings as the specified object. Inherited from AggregateOperand.
Exists() Creates a new AggregateOperand which determines whether or not the count of AggregateOperand.CollectionProperty elements that match the AggregateOperand.Condition is greater than zero. Inherited from AggregateOperand.
Exists(CriteriaOperator) Creates a new AggregateOperand which determines whether or not the count of AggregateOperand.CollectionProperty elements that match the AggregateOperand.Condition is greater than zero. Inherited from AggregateOperand.
GetCustomFunction(String) static Searches custom functions registered in an application via the CriteriaOperator.RegisterCustomFunction and CriteriaOperator.RegisterCustomFunctions method calls for a function with a specified name. Inherited from CriteriaOperator.
GetCustomFunctions() static Returns custom functions registered in an application via the CriteriaOperator.RegisterCustomFunction and CriteriaOperator.RegisterCustomFunctions method calls. Inherited from CriteriaOperator.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current AggregateOperand object. Inherited from AggregateOperand.
GetType() Gets the Type of the current instance. Inherited from Object.
IsNotNull() For internal use only. Inherited from CriteriaOperator.
IsNull() For internal use only. Inherited from CriteriaOperator.
LegacyToString() Returns the string representation of the criteria specified by the current CriteriaOperator instance. Inherited from CriteriaOperator.
LegacyToString(CriteriaOperator) static Returns the string representation of a specified criteria. Inherited from CriteriaOperator.
Max(CriteriaOperator) Creates a new AggregateOperand which returns the maximum of the values calculated by the given aggregate expression. This expression is evaluated against elements of the AggregateOperand.CollectionProperty that match the specified AggregateOperand.Condition. Inherited from AggregateOperand.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Min(CriteriaOperator) Creates a new AggregateOperand which returns the minimum of the values calculated by the given aggregate expression. This expression is evaluated against elements of the AggregateOperand.CollectionProperty that match the specified AggregateOperand.Condition. Inherited from AggregateOperand.
Not() Returns an instance of the UnaryOperator that represents the criterion resulting from the logical inversion of the criterion the current CriteriaOperator represents. Inherited from CriteriaOperator.
Or(CriteriaOperator, CriteriaOperator) static Returns the expression which groups two operands with logical OR. Inherited from CriteriaOperator.
Or(CriteriaOperator[]) static Returns the expression which groups the specified operands with logical OR. Inherited from CriteriaOperator.
Or(IEnumerable<CriteriaOperator>) static Returns the expression which groups the specified operands with logical OR. Inherited from CriteriaOperator.
Parse(String, out OperandValue[]) static Converts the specified string, specifying an expression, to its CriteriaOperator equivalent. Inherited from CriteriaOperator.
Parse(String, Object[]) static Converts the specified string, specifying an expression, to its CriteriaOperator equivalent. Inherited from CriteriaOperator.
ParseList(String, out OperandValue[]) static Converts the specified string representation of expressions that are divided by a semicolon into their CriteriaOperator equivalents. Inherited from CriteriaOperator.
ParseList(String, Object[]) static Converts the specified string representation of expressions that are divided by a semicolon into their CriteriaOperator equivalents. Inherited from CriteriaOperator.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterCustomFunction(ICustomFunctionOperator) static Registers a specified custom function to use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
RegisterCustomFunctions(IEnumerable<ICustomFunctionOperator>) static Registers specified custom functions to use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
Single(CriteriaOperator) Creates a new AggregateOperand which returns the single object from the AggregateOperand.CollectionProperty that matches the specified AggregateOperand.Condition. The collection must be empty or contain exactly one object. Inherited from AggregateOperand.
Sum(CriteriaOperator) Creates a new AggregateOperand which returns the sum of values calculated by the given aggregate expression. This expression is evaluated against elements of the AggregateOperand.CollectionProperty that match the specified AggregateOperand.Condition. Inherited from AggregateOperand.
ToBasicStyleString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in VB style. Inherited from CriteriaOperator.
ToBasicStyleString(CriteriaOperator) static Converts the specified expression into its equivalent string in VB style. Inherited from CriteriaOperator.
ToCStyleString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in C# style. Inherited from CriteriaOperator.
ToCStyleString(CriteriaOperator) static Converts the specified expression into its equivalent string in C# style. Inherited from CriteriaOperator.
ToString() Converts the current expression into its VB equivalent string. Inherited from CriteriaOperator.
ToString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in VB style. Inherited from CriteriaOperator.
ToString(CriteriaOperator) static Converts the specified expression into its equivalent string in VB style. Inherited from CriteriaOperator.
TryParse(String, Object[]) static Tries to convert the specified string representation of an expression to its CriteriaOperator equivalent. Inherited from CriteriaOperator.
UnregisterCustomFunction(ICustomFunctionOperator) static Unregisters a specified custom function from use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
UnregisterCustomFunction(String) static Unregisters a custom function with a specified name from use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
See Also