MetadataPropertiesExpression Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Specifies the properties for which non-null values are returned from a query.
Namespace: Microsoft.Xrm.Sdk.Metadata.Query
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.Metadata.Query.MetadataPropertiesExpression
Syntax
[DataContractAttribute(Name = "MetadataPropertiesExpression",
Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata/Query")]
public sealed class MetadataPropertiesExpression : IExtensibleDataObject
<DataContractAttribute(Name := "MetadataPropertiesExpression",
Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata/Query")>
Public NotInheritable Class MetadataPropertiesExpression
Implements IExtensibleDataObject
Constructors
Name | Description | |
---|---|---|
MetadataPropertiesExpression() | Initializes a new instance of the MetadataPropertiesExpression class. |
|
MetadataPropertiesExpression(String[]) | Initializes a new instance of the MetadataPropertiesExpression class. |
Properties
Name | Description | |
---|---|---|
AllProperties | Gets or sets whether to retrieve all the properties of a metadata object. |
|
ExtensionData | Gets or sets the structure that contains extra data. |
|
PropertyNames | Gets or sets a collection of strings representing the metadata properties to retrieve. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Remarks
When the metadata object is instantiated all properties are included but any properties not specified by the MetadataPropertiesExpression will contain null values.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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