MetadataQueryExpression Class
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Represents the abstract base class for constructing a metadata query.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Microsoft.Xrm.Sdk.Metadata.Query.MetadataQueryBase
Microsoft.Xrm.Sdk.Metadata.Query.MetadataQueryExpression
Microsoft.Xrm.Sdk.Metadata.Query.AttributeQueryExpression
Microsoft.Xrm.Sdk.Metadata.Query.EntityKeyQueryExpression
Microsoft.Xrm.Sdk.Metadata.Query.EntityQueryExpression
Microsoft.Xrm.Sdk.Metadata.Query.RelationshipQueryExpression
[KnownTypeAttribute(typeof(EntityKeyQueryExpression))] [DataContractAttribute(Name = "MetadataQueryExpression", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata/Query")] [KnownTypeAttribute(typeof(LabelQueryExpression))] [KnownTypeAttribute(typeof(RelationshipQueryExpression))] [KnownTypeAttribute(typeof(EntityQueryExpression))] [KnownTypeAttribute(typeof(AttributeQueryExpression))] public abstract class MetadataQueryExpression : MetadataQueryBase
| Name | Description | |
|---|---|---|
![]() | MetadataQueryExpression() | Initializes a new instance of the MetadataQueryExpression class. |
| Name | Description | |
|---|---|---|
![]() | Criteria | Gets or sets the filter criteria for the metadata query. |
![]() | ExtensionData | Gets or sets the structure that contains extra data.(Inherited from MetadataQueryBase.) |
![]() | Properties | Gets or sets the properties to be returned by the query. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (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.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright


