MetadataPropertiesExpression Class

 

Updated: November 29, 2016

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)

System.Object
  Microsoft.Xrm.Sdk.Metadata.Query.MetadataPropertiesExpression

[DataContractAttribute(Name = "MetadataPropertiesExpression", 
	Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata/Query")]
public sealed class MetadataPropertiesExpression : IExtensibleDataObject

NameDescription
System_CAPS_pubmethodMetadataPropertiesExpression()

Initializes a new instance of the MetadataPropertiesExpression class.

System_CAPS_pubmethodMetadataPropertiesExpression(String[])

Initializes a new instance of the MetadataPropertiesExpression class.

NameDescription
System_CAPS_pubpropertyAllProperties

Gets or sets whether to retrieve all the properties of a metadata object.

System_CAPS_pubpropertyExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubpropertyPropertyNames

Gets or sets a collection of strings representing the metadata properties to retrieve.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

When the metadata object is instantiated all properties are included but any properties not specified by the MetadataPropertiesExpression will contain null values.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: