AliasedValue Class
Applies To: Dynamics CRM 2015
Used to return aggregate, group by, and aliased values from a query.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.AliasedValue
Syntax
[DataContractAttribute(Name = "AliasedValue", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
[KnownTypeAttribute("GetKnownAliasedValueTypes")]
public sealed class AliasedValue : IExtensibleDataObject
[DataContractAttribute(Name = "AliasedValue", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
[KnownTypeAttribute("GetKnownAliasedValueTypes")]
public ref class AliasedValue sealed : IExtensibleDataObject
[<Sealed>]
[<DataContractAttribute(Name = "AliasedValue", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")>]
[<KnownTypeAttribute("GetKnownAliasedValueTypes")>]
type AliasedValue =
class
interface IExtensibleDataObject
end
<DataContractAttribute(Name := "AliasedValue", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
<KnownTypeAttribute("GetKnownAliasedValueTypes")>
Public NotInheritable Class AliasedValue
Implements IExtensibleDataObject
Constructors
Name | Description | |
---|---|---|
AliasedValue() | Initializes a new instance of the AliasedValue class. |
|
AliasedValue(String, String, Object) | Initializes a new instance of the AliasedValue class. |
Properties
Name | Description | |
---|---|---|
AttributeLogicalName | Gets the name of the attribute on which the aggregate, group by, or select operation was performed. |
|
EntityLogicalName | Gets the name of the entity the attribute belongs to. |
|
ExtensionData | Gets or sets the structure that contains extra data. |
|
Value | Gets the value returned by the query. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Examples
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 Namespace
Build queries with FetchXML
Use FetchXML aggregation
Sample: Use aggregation in FetchXML
Return to top
© 2016 Microsoft. All rights reserved. Copyright