CrmEntity.GetAttributeValue<T> Method (String)

 

Applies To: Dynamics CRM 2015

Retrieves the value of an attribute.

Namespace:   Microsoft.Xrm.Client
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public override T GetAttributeValue<T>(
    string attributeLogicalName
)
public:
generic<typename T>
virtual T GetAttributeValue(
    String^ attributeLogicalName
) override
override GetAttributeValue<'T> : 
        attributeLogicalName:string -> 'T
Public Overrides Function GetAttributeValue(Of T) (
    attributeLogicalName As String
) As T

Parameters

Return Value

Type: T

Type: IEnumerable<T>
Returns an enumerable collection where T is an Entity.

Type Parameters

  • T
    Type: Entity. The entity that contains the attribute.

Remarks

Extends the core GetAttributeValue<T> method.

See Also

CrmEntity Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright