FilterExpression.AddFilter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddFilter(FilterExpression) |
Adds a FilterExpression to the Filters collection. |
AddFilter(LogicalOperator) |
Adds a FilterExpression to the Filters collection, setting the FilterOperator. |
AddFilter(FilterExpression)
Adds a FilterExpression to the Filters collection.
public:
void AddFilter(Microsoft::Xrm::Sdk::Query::FilterExpression ^ childFilter);
public void AddFilter (Microsoft.Xrm.Sdk.Query.FilterExpression childFilter);
member this.AddFilter : Microsoft.Xrm.Sdk.Query.FilterExpression -> unit
Public Sub AddFilter (childFilter As FilterExpression)
Parameters
- childFilter
- FilterExpression
The filter to be added.
Applies to
AddFilter(LogicalOperator)
Adds a FilterExpression to the Filters collection, setting the FilterOperator.
public:
Microsoft::Xrm::Sdk::Query::FilterExpression ^ AddFilter(Microsoft::Xrm::Sdk::Query::LogicalOperator logicalOperator);
public Microsoft.Xrm.Sdk.Query.FilterExpression AddFilter (Microsoft.Xrm.Sdk.Query.LogicalOperator logicalOperator);
member this.AddFilter : Microsoft.Xrm.Sdk.Query.LogicalOperator -> Microsoft.Xrm.Sdk.Query.FilterExpression
Public Function AddFilter (logicalOperator As LogicalOperator) As FilterExpression
Parameters
- logicalOperator
- LogicalOperator
The type of comparison to apply.
Returns
The new filter expression.