Compartilhar via


CrmEntity.GetAttributeValue<T> Method (String)

 

Applies To: Dynamics CRM 2013

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 2013

Return to top