Partager via


XrmAttributeExpression Constructors

Definition

Overloads

XrmAttributeExpression()

Initializes a new instance of the XrmAttributeExpression class.

XrmAttributeExpression(String)

Initializes a new instance of the XrmAttributeExpression class, setting the AttributeName property.

XrmAttributeExpression(String, XrmAggregateType)

Initializes a new instance of the XrmAttributeExpression class, setting the AttributeName and AggregateType properties.

XrmAttributeExpression(String, XrmAggregateType, String)

Initializes a new instance of the XrmAttributeExpression class, setting the AttributeName, AggregateType, and Alias properties.

XrmAttributeExpression(String, XrmAggregateType, String, XrmDateTimeGrouping)

Initializes a new instance of the XrmAttributeExpression class, setting the AttributeName, AggregateType, Alias, and DateTimeGrouping properties.

XrmAttributeExpression()

Initializes a new instance of the XrmAttributeExpression class.

public:
 XrmAttributeExpression();
public XrmAttributeExpression ();
Public Sub New ()

Applies to

XrmAttributeExpression(String)

Initializes a new instance of the XrmAttributeExpression class, setting the AttributeName property.

public:
 XrmAttributeExpression(System::String ^ attributeName);
public XrmAttributeExpression (string attributeName);
new Microsoft.Xrm.Sdk.Query.XrmAttributeExpression : string -> Microsoft.Xrm.Sdk.Query.XrmAttributeExpression
Public Sub New (attributeName As String)

Parameters

attributeName
String

The name of the column containing the data.

Applies to

XrmAttributeExpression(String, XrmAggregateType)

Initializes a new instance of the XrmAttributeExpression class, setting the AttributeName and AggregateType properties.

public:
 XrmAttributeExpression(System::String ^ attributeName, Microsoft::Xrm::Sdk::Query::XrmAggregateType aggregateType);
public XrmAttributeExpression (string attributeName, Microsoft.Xrm.Sdk.Query.XrmAggregateType aggregateType);
new Microsoft.Xrm.Sdk.Query.XrmAttributeExpression : string * Microsoft.Xrm.Sdk.Query.XrmAggregateType -> Microsoft.Xrm.Sdk.Query.XrmAttributeExpression
Public Sub New (attributeName As String, aggregateType As XrmAggregateType)

Parameters

attributeName
String

The name of the column containing the data.

aggregateType
XrmAggregateType

The type of aggregation to apply.

Applies to

XrmAttributeExpression(String, XrmAggregateType, String)

Initializes a new instance of the XrmAttributeExpression class, setting the AttributeName, AggregateType, and Alias properties.

public:
 XrmAttributeExpression(System::String ^ attributeName, Microsoft::Xrm::Sdk::Query::XrmAggregateType aggregateType, System::String ^ alias);
public XrmAttributeExpression (string attributeName, Microsoft.Xrm.Sdk.Query.XrmAggregateType aggregateType, string alias);
new Microsoft.Xrm.Sdk.Query.XrmAttributeExpression : string * Microsoft.Xrm.Sdk.Query.XrmAggregateType * string -> Microsoft.Xrm.Sdk.Query.XrmAttributeExpression
Public Sub New (attributeName As String, aggregateType As XrmAggregateType, alias As String)

Parameters

attributeName
String

The name of the column containing the data.

aggregateType
XrmAggregateType

The type of aggregation to apply.

alias
String

The alias for the column to return.

Applies to

XrmAttributeExpression(String, XrmAggregateType, String, XrmDateTimeGrouping)

Initializes a new instance of the XrmAttributeExpression class, setting the AttributeName, AggregateType, Alias, and DateTimeGrouping properties.

public:
 XrmAttributeExpression(System::String ^ attributeName, Microsoft::Xrm::Sdk::Query::XrmAggregateType aggregateType, System::String ^ alias, Microsoft::Xrm::Sdk::Query::XrmDateTimeGrouping dateTimeGrouping);
public XrmAttributeExpression (string attributeName, Microsoft.Xrm.Sdk.Query.XrmAggregateType aggregateType, string alias, Microsoft.Xrm.Sdk.Query.XrmDateTimeGrouping dateTimeGrouping);
new Microsoft.Xrm.Sdk.Query.XrmAttributeExpression : string * Microsoft.Xrm.Sdk.Query.XrmAggregateType * string * Microsoft.Xrm.Sdk.Query.XrmDateTimeGrouping -> Microsoft.Xrm.Sdk.Query.XrmAttributeExpression
Public Sub New (attributeName As String, aggregateType As XrmAggregateType, alias As String, dateTimeGrouping As XrmDateTimeGrouping)

Parameters

attributeName
String

The name of the column containing the data.

aggregateType
XrmAggregateType

The type of aggregation to apply.

alias
String

The alias for the column to return.

dateTimeGrouping
XrmDateTimeGrouping

Specifies how DateTime data returned by the query should be grouped.

Applies to