MetadataConditionExpression MetadataConditionExpression MetadataConditionExpression MetadataConditionExpression Class

Definition

Contains a condition expression used to filter the results of the metadata query.

public ref class MetadataConditionExpression sealed : System::Runtime::Serialization::IExtensibleDataObject
[System.Runtime.Serialization.DataContract(Name="MetadataConditionExpression", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata/Query")]
[System.Runtime.Serialization.KnownType("GetKnownConditionValueTypes")]
public sealed class MetadataConditionExpression : System.Runtime.Serialization.IExtensibleDataObject
type MetadataConditionExpression = class
    interface IExtensibleDataObject
Public NotInheritable Class MetadataConditionExpression
Implements IExtensibleDataObject
Inheritance
MetadataConditionExpressionMetadataConditionExpressionMetadataConditionExpressionMetadataConditionExpression
Attributes
Implements

Remarks

The following code snippet from Sample: Query metadata and detect changes shows the use of MetadataConditionExpression to set conditions for Entities and Attributes to return.

MetadataQuery#EntityFilter,AttributeQueryExpression,InitialRequest

Constructors

MetadataConditionExpression() MetadataConditionExpression() MetadataConditionExpression() MetadataConditionExpression()

Initializes a new instance of the MetadataConditionExpression class.

MetadataConditionExpression(String, MetadataConditionOperator, Object) MetadataConditionExpression(String, MetadataConditionOperator, Object) MetadataConditionExpression(String, MetadataConditionOperator, Object) MetadataConditionExpression(String, MetadataConditionOperator, Object)

Initializes a new instance of the MetadataConditionExpression class.

Properties

ConditionOperator ConditionOperator ConditionOperator ConditionOperator

Gets or sets the condition operator.

ExtensionData ExtensionData ExtensionData ExtensionData

Gets or sets the structure that contains extra data.

PropertyName PropertyName PropertyName PropertyName

Gets or sets the name of the metadata property in the condition expression.

Value Value Value Value

Gets or sets the value for the metadata property.

Applies to