FilterExpression Class

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Specifies complex condition and logical filter expressions used for filtering the results of the query.

Namespace:   Microsoft.Xrm.Sdk.Query
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

System.Object
  Microsoft.Xrm.Sdk.Query.FilterExpression

<DataContractAttribute(Name := "FilterExpression", Namespace := "http://schemas.microsoft.com/xrm/2011/Contracts")>
Public NotInheritable Class FilterExpression
	Implements IExtensibleDataObject

NameDescription
System_CAPS_pubmethodFilterExpression()

Initializes a new instance of the FilterExpression class.

System_CAPS_pubmethodFilterExpression(LogicalOperator)

Initializes a new instance of the FilterExpression class.

NameDescription
System_CAPS_pubpropertyConditions

Gets condition expressions that include attributes, condition operators, and attribute values.

System_CAPS_pubpropertyExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubpropertyFilterOperator

Gets or sets the logical AND/OR filter operator.

System_CAPS_pubpropertyFilters

Gets a collection of condition and logical filter expressions that filter the results of the query.

System_CAPS_pubpropertyIsQuickFindFilter

Gets or sets whether the expression is part of a quick find query.

NameDescription
System_CAPS_pubmethodAddCondition(ConditionExpression)

Adds a condition to the filter expression setting the condition expression.

System_CAPS_pubmethodAddCondition(String, ConditionOperator, Object())

Adds a condition to the filter expression setting the attribute name, condition operator, and value array.

System_CAPS_pubmethodAddCondition(String, String, ConditionOperator, Object())

Adds a condition to the filter expression setting the entity name, attribute name, condition operator, and value array.

System_CAPS_pubmethodAddFilter(FilterExpression)

Adds a child filter to the filter expression.

System_CAPS_pubmethodAddFilter(LogicalOperator)

Adds a child filter to the filter expression setting the logical operator.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: