Freigeben über


MetadataFilterExpression Class

Definition

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

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

Remarks

The following example shows the use of a MetadataFilterExpression to return non-intersect, user-owned entities not found in a list of excluded entities.

Constructors

MetadataFilterExpression()

Initializes a new instance of the MetadataFilterExpression class.

MetadataFilterExpression(LogicalOperator)

Initializes a new instance of the MetadataFilterExpression class.

Properties

Conditions

Gets condition expressions that include metadata properties, condition operators and values.

ExtensionData

Gets or sets the structure that contains extra data.

FilterOperator

Gets or sets the logical AND/OR filter operator.

Filters

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

Applies to