共用方式為


CrmEntity.SetAttributeCollectionValue<T> Method (String, String, IEnumerable<T>)

 

Applies To: Dynamics CRM 2013

Modifies the value of a sequence attribute.

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

Syntax

protected virtual void SetAttributeCollectionValue<T>(
    string propertyName,
    string attributeLogicalName,
    IEnumerable<T> value
)
where T : Entity
protected:
generic<typename T>
where T : Entity
virtual void SetAttributeCollectionValue(
    String^ propertyName,
    String^ attributeLogicalName,
    IEnumerable<T>^ value
)
abstract SetAttributeCollectionValue<'T when 'T : Entity> : 
        propertyName:string *
        attributeLogicalName:string *
        value:IEnumerable<'T> -> unit
override SetAttributeCollectionValue<'T when 'T : Entity> : 
        propertyName:string *
        attributeLogicalName:string *
        value:IEnumerable<'T> -> unit
Protected Overridable Sub SetAttributeCollectionValue(Of T As Entity) (
    propertyName As String,
    attributeLogicalName As String,
    value As IEnumerable(Of T)
)

Parameters

Type Parameters

See Also

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

Return to top