MetadataConditionOperator Enumeration

 

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

Describes the type of comparison for two values in a metadata condition expression.

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

Syntax

[DataContractAttribute(Name = "MetadataConditionOperator", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata/Query")]
public enum MetadataConditionOperator
<DataContractAttribute(Name := "MetadataConditionOperator", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata/Query")>
Public Enumeration MetadataConditionOperator

Members

Member name Description
Equals

The values are compared for equality. Value = 0.

GreaterThan

The value is greater than the compared value. Value = 4.

In

The value exists in a list of values. Value = 2.

LessThan

The value is less than the compared value. Value = 5.

NotEquals

The two values are not equal. Value = 1.

NotIn

The given value is not matched to a value in a list. Value = 3.

See Also

Microsoft.Xrm.Sdk.Metadata.Query Namespace
Retrieve and detect changes to metadata
Sample: Query metadata and detect changes

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright