CrmEntity.GetAttributeCollectionValue<T> Method (String)

 

Applies To: Dynamics CRM 2015

Retrieves the value of a sequence attribute.

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

Syntax

public virtual IEnumerable<T> GetAttributeCollectionValue<T>(
    string attributeLogicalName
)
where T : Entity
public:
generic<typename T>
where T : Entity
virtual IEnumerable<T>^ GetAttributeCollectionValue(
    String^ attributeLogicalName
)
abstract GetAttributeCollectionValue<'T when 'T : Entity> : 
        attributeLogicalName:string -> IEnumerable<'T>
override GetAttributeCollectionValue<'T when 'T : Entity> : 
        attributeLogicalName:string -> IEnumerable<'T>
Public Overridable Function GetAttributeCollectionValue(Of T As Entity) (
    attributeLogicalName As String
) As IEnumerable(Of T)

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<T>

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

Type Parameters

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

See Also

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

Return to top

© 2017 Microsoft. All rights reserved. Copyright