Share via


MetadataPropertiesExpression Class

Definition

Specifies the properties for which non-null values are returned from a query.

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

Remarks

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

Constructors

MetadataPropertiesExpression()

Initializes a new instance of the MetadataPropertiesExpression class.

MetadataPropertiesExpression(String[])

Initializes a new instance of the MetadataPropertiesExpression class.

Properties

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.

Applies to