Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MetadataPropertiesExpression Class

Definition

Namespace:
Microsoft.Xrm.Sdk.Metadata.Query
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

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.

Applies to