Jaa


EntityExtensions.SetAttributeCollectionValue<T> Method (Entity, String, IEnumerable<T>)

 

Applies To: Dynamics CRM 2015

Modifies the value of a sequence attribute.

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

Syntax

public static void SetAttributeCollectionValue<T>(
    this Entity entity,
    string attributeLogicalName,
    IEnumerable<T> value
)
where T : Entity
public:
generic<typename T>
where T : Entity
[ExtensionAttribute]
static void SetAttributeCollectionValue(
    Entity^ entity,
    String^ attributeLogicalName,
    IEnumerable<T>^ value
)
static member SetAttributeCollectionValue<'T when 'T : Entity> : 
        entity:Entity *
        attributeLogicalName:string *
        value:IEnumerable<'T> -> unit
<ExtensionAttribute>
Public Shared Sub SetAttributeCollectionValue(Of T As Entity) (
    entity As Entity,
    attributeLogicalName As String,
    value As IEnumerable(Of T)
)

Parameters

Type Parameters

  • T
    The type, where T is an Entity.

See Also

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

Return to top

© 2017 Microsoft. All rights reserved. Copyright