다음을 통해 공유


FilterExpression.AddFilter Method

Definition

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.

Applies to