共用方式為


CrmEntity.GetAttributeCollectionValue<T> Method (String)

 

Applies To: Dynamics CRM 2013

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 2013

Return to top